diff options
| author | ameerj <aj662@drexel.edu> | 2020-11-25 17:10:44 -0500 |
|---|---|---|
| committer | ameerj <aj662@drexel.edu> | 2020-11-25 17:10:44 -0500 |
| commit | eab041866b7c766aa38258aecef8a00c03612459 (patch) | |
| tree | 7ca30459bcdfb9a277c3afac9d37f7198c01f535 /src/video_core/command_classes/nvdec.h | |
| parent | b834c21894ca905cacce2bda04cf24e81175f434 (diff) | |
Queue decoded frames, cleanup decoders
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 |
