From e5fcb5c9ccb9c1d19b9527b77ef8e329f5d02ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Luis=20Mill=C3=A1n?= Date: Mon, 30 Jan 2023 11:18:45 +0100 Subject: [PATCH] Revert "tmp" This reverts commit a390a44e2c3dff26686885f9b8c8eecb7739865d. --- worker/src/RTC/Codecs/VP8.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/worker/src/RTC/Codecs/VP8.cpp b/worker/src/RTC/Codecs/VP8.cpp index f475138aa01..3d5a2139caf 100644 --- a/worker/src/RTC/Codecs/VP8.cpp +++ b/worker/src/RTC/Codecs/VP8.cpp @@ -257,7 +257,10 @@ namespace RTC if ( this->payloadDescriptor->hasPictureId && this->payloadDescriptor->hasTlIndex && - this->payloadDescriptor->hasTl0PictureIndex + this->payloadDescriptor->hasTl0PictureIndex && + !RTC::SeqManager::IsSeqLowerThan( + this->payloadDescriptor->pictureId, + context->pictureIdManager.GetMaxInput()) ) // clang-format on { @@ -322,7 +325,7 @@ namespace RTC // clang-format off if ( this->payloadDescriptor->hasTlIndex && - this->payloadDescriptor->tlIndex == context->GetTargetTemporalLayer() + this->payloadDescriptor->tlIndex > context->GetCurrentTemporalLayer() ) // clang-format on {