codecs: Add VP8 codec class

This commit is contained in:
ameerj committed 2021-11-12 19:49:45 -05:00
1 parent 852858c2cb
commit b39b33b1fe
9 files changed
+90 -20

No files matched your search

+2 -1
View File
@@ -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: