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.cpp | |
| parent | b834c21894ca905cacce2bda04cf24e81175f434 (diff) | |
Queue decoded frames, cleanup decoders
Diffstat (limited to 'src/video_core/command_classes/nvdec.cpp')
| -rw-r--r-- | src/video_core/command_classes/nvdec.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/command_classes/nvdec.cpp b/src/video_core/command_classes/nvdec.cpp index 8ca7a7b06..79e1f4e13 100644 --- a/src/video_core/command_classes/nvdec.cpp +++ b/src/video_core/command_classes/nvdec.cpp @@ -29,11 +29,7 @@ void Nvdec::ProcessMethod(Method method, const std::vector<u32>& arguments) { } } -AVFrame* Nvdec::GetFrame() { - return codec->GetCurrentFrame(); -} - -const AVFrame* Nvdec::GetFrame() const { +AVFramePtr Nvdec::GetFrame() { return codec->GetCurrentFrame(); } |
