Skip to content

Commit

Permalink
Revert "tmp"
Browse files Browse the repository at this point in the history
This reverts commit a390a44.
  • Loading branch information
jmillan committed Jan 30, 2023
1 parent a390a44 commit e5fcb5c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions worker/src/RTC/Codecs/VP8.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,10 @@ namespace RTC
if (
this->payloadDescriptor->hasPictureId &&
this->payloadDescriptor->hasTlIndex &&
this->payloadDescriptor->hasTl0PictureIndex
this->payloadDescriptor->hasTl0PictureIndex &&
!RTC::SeqManager<uint16_t, 15>::IsSeqLowerThan(
this->payloadDescriptor->pictureId,
context->pictureIdManager.GetMaxInput())
)
// clang-format on
{
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit e5fcb5c

Please sign in to comment.