diff options
| author | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-12 19:28:21 -0500 |
|---|---|---|
| committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-11-12 19:49:45 -0500 |
| commit | b39b33b1fe1a396bb2f9841d48a1cb45cbfde806 (patch) | |
| tree | 75517c706c67c3329c0cd6436a2a6397f3dddf24 /src/video_core/command_classes/nvdec.cpp | |
| parent | 852858c2cb1e07afd467ffc009ef736ce01b4f8f (diff) | |
codecs: Add VP8 codec class
Diffstat (limited to 'src/video_core/command_classes/nvdec.cpp')
| -rw-r--r-- | src/video_core/command_classes/nvdec.cpp | 3 |
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: |
