Skip to content
Snippets Groups Projects
Commit 8d44a115 authored by David Rosca's avatar David Rosca Committed by Marge Bot
Browse files

radeonsi/vcn: Don't reinitialize encode session on bitrate/fps change


When bitrate or fps change is detected, only update rate control
parameters instead of completely reinitializing encode session.

This fixes an issue where if application changed bitrate or fps often,
the output bitrate would significantly overshoot the target bitrate in some
cases. In other cases, the output bitrate would be extremely low instead.

Cc: mesa-stable

Reviewed-by: default avatarRuijing Dong <ruijing.dong@amd.com>
Part-of: <mesa/mesa!27548>
parent e0b4dfbb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment