summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-03 00:55:15 +0100
committerGitHub <noreply@github.com>2020-12-03 00:55:15 +0100
commit9abb23cd2700b57611fc25bce67581eaa6d4d3b7 (patch)
tree75a2c41fbdfab51ea44e74e84c17204da171b938 /src/video_core/command_classes/nvdec.cpp
parentMerge pull request #4937 from german77/multiUDP (diff)
parentLimit queue size to 10 frames (diff)
downloadyuzu-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.cpp')
-rw-r--r--src/video_core/command_classes/nvdec.cpp6
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();
}