diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-03 00:55:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 00:55:15 +0100 |
commit | 9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (patch) | |
tree | 75a2c41fbdfab51ea44e74e84c17204da171b938 /src/video_core/command_classes/nvdec.h | |
parent | Merge pull request #4937 from german77/multiUDP (diff) | |
parent | Limit queue size to 10 frames (diff) | |
download | yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.gz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.bz2 yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.lz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.xz yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.tar.zst yuzu-9abb23cd2700b57611fc25bce67581eaa6d4d3b7.zip |
Diffstat (limited to 'src/video_core/command_classes/nvdec.h')
-rw-r--r-- | src/video_core/command_classes/nvdec.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.h index eec4443f9..e4877c533 100644 --- a/src/video_core/command_classes/nvdec.h +++ b/src/video_core/command_classes/nvdec.h @@ -26,8 +26,7 @@ public: void ProcessMethod(Method method, const std::vector<u32>& arguments); /// Return most recently decoded frame - [[nodiscard]] AVFrame* GetFrame(); - [[nodiscard]] const AVFrame* GetFrame() const; + [[nodiscard]] AVFramePtr GetFrame(); private: /// Invoke codec to decode a frame |