diff --git a/worker/src/RTC/Codecs/VP8.cpp b/worker/src/RTC/Codecs/VP8.cpp index 3d5a2139caf..f475138aa01 100644 --- a/worker/src/RTC/Codecs/VP8.cpp +++ b/worker/src/RTC/Codecs/VP8.cpp @@ -257,10 +257,7 @@ namespace RTC if ( this->payloadDescriptor->hasPictureId && this->payloadDescriptor->hasTlIndex && - this->payloadDescriptor->hasTl0PictureIndex && - !RTC::SeqManager::IsSeqLowerThan( - this->payloadDescriptor->pictureId, - context->pictureIdManager.GetMaxInput()) + this->payloadDescriptor->hasTl0PictureIndex ) // clang-format on { @@ -325,7 +322,7 @@ namespace RTC // clang-format off if ( this->payloadDescriptor->hasTlIndex && - this->payloadDescriptor->tlIndex > context->GetCurrentTemporalLayer() + this->payloadDescriptor->tlIndex == context->GetTargetTemporalLayer() ) // clang-format on {