summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.cpp
diff options
context:
space:
mode:
authorFernando S <fsahmkow27@gmail.com>2021-11-14 23:03:56 +0100
committerGitHub <noreply@github.com>2021-11-14 23:03:56 +0100
commit720970c4c1d71c67fa8af1e86c78d9141148729b (patch)
treed33d5f3fe85da3811932b590ebe459eb6e08a5ac /src/video_core/command_classes/nvdec.cpp
parentMerge pull request #7260 from vonchenplus/spirv_support_legacy_attribute_v2 (diff)
parentcodes: Rename ComposeFrameHeader to ComposeFrame (diff)
downloadyuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar.gz
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar.bz2
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar.lz
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar.xz
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.tar.zst
yuzu-720970c4c1d71c67fa8af1e86c78d9141148729b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/command_classes/nvdec.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/video_core/command_classes/nvdec.cpp b/src/video_core/command_classes/nvdec.cpp
index b5c55f14a..9aaf5247e 100644
--- a/src/video_core/command_classes/nvdec.cpp
+++ b/src/video_core/command_classes/nvdec.cpp
@@ -35,7 +35,8 @@ AVFramePtr Nvdec::GetFrame() {
void Nvdec::Execute() {
switch (codec->GetCurrentCodec()) {
case NvdecCommon::VideoCodec::H264:
- case NvdecCommon::VideoCodec::Vp9:
+ case NvdecCommon::VideoCodec::VP8:
+ case NvdecCommon::VideoCodec::VP9:
codec->Decode();
break;
default: