codecs: Add VP8 codec class

This commit is contained in:
ameerj
2021-11-12 19:28:21 -05:00
parent 852858c2cb
commit b39b33b1fe
9 changed files with 90 additions and 20 deletions

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: