Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent PLI layer lock getting stuck. #1481

Merged
merged 1 commit into from Mar 1, 2023
Merged

Conversation

boks1971
Copy link
Contributor

@boks1971 boks1971 commented Mar 1, 2023

In the following scenario, PLI layer lock got stuck at the wrong layer

  • target is at 2 to allow overshoot
  • current gets to 1, but can't get higher because publisher is not publishing higher layer
  • max layer changed to 0

Because of adjusting for overshoot only when current == target, it never happened and layer lock PLI kept asking for layer 0. Although, key frames were received, switch did not happen.

Always check for overshoot adjustment possibility against current layer.

In the following scenario, PLI layer lock got stuck at the wrong layer
- target is at 2 to allow overshoot
- current gets to 1, but can't get higher because publisher is not
  publishing higher layer
- max layer changed to 0

Because of adjusting for overshoot only when current == target, it never
happened and layer lock PLI kept asking for layer 0. Although, key
frames were received, switch did not happen.

Always check for overshoot adjustment possibility against current layer.
@boks1971 boks1971 merged commit ab098d9 into master Mar 1, 2023
@boks1971 boks1971 deleted the raja_adjust_overshoot branch March 1, 2023 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants