summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.cpp
diff options
context:
space:
mode:
authorameerj <52414509+ameerj@users.noreply.github.com>2021-11-13 01:28:21 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-11-13 01:49:45 +0100
commitb39b33b1fe1a396bb2f9841d48a1cb45cbfde806 (patch)
tree75517c706c67c3329c0cd6436a2a6397f3dddf24 /src/video_core/command_classes/nvdec.cpp
parentMerge pull request #7320 from OatmealDome/homebrew-capabilities (diff)
downloadyuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.gz
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.bz2
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.lz
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.xz
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.tar.zst
yuzu-b39b33b1fe1a396bb2f9841d48a1cb45cbfde806.zip
Diffstat (limited to 'src/video_core/command_classes/nvdec.cpp')
-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: