diff options
| author | bunnei <bunneidev@gmail.com> | 2020-12-02 15:55:15 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 15:55:15 -0800 |
| commit | 9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (patch) | |
| tree | 75a2c41fbdfab51ea44e74e84c17204da171b938 /src/video_core/command_classes/nvdec.cpp | |
| parent | 25f650e075c441798016d0e7a446a10ce82a2865 (diff) | |
| parent | 979b60273889f070737d1fe3037991245180ca67 (diff) | |
Merge pull request #5002 from ameerj/nvdec-frameskip
nvdec: Queue and display all 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(); } |
