提交 ca316602 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

VP8 and H264: Fix regression in 3.1.5 that produces lot of changes in current…

VP8 and H264: Fix regression in 3.1.5 that produces lot of changes in current temporal layer detection.

Thanks Kwindla Hultman Kramer for reporting it.
上级 b34ca44b
......@@ -225,7 +225,7 @@ namespace RTC
{
context->SetCurrentTemporalLayer(this->payloadDescriptor->tid);
}
else
else if (!this->payloadDescriptor->hasTid)
{
context->SetCurrentTemporalLayer(0);
}
......
......@@ -322,7 +322,7 @@ namespace RTC
{
context->SetCurrentTemporalLayer(this->payloadDescriptor->tlIndex);
}
else
else if (!this->payloadDescriptor->hasTlIndex)
{
context->SetCurrentTemporalLayer(0);
}
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论