codecs: Add VP8 codec class

This commit is contained in:
ameerj 2021-11-12 19:28:21 -05:00
parent 5204d237ad
commit 538647f62b
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: