Skip to content
Snippets Groups Projects
Commit f21d6e18 authored by Krunal Patel's avatar Krunal Patel Committed by Marge Bot
Browse files

frontend/va: Create decoder once the max_references is updated


Issue: When a video is decoded where the max_references is updated the
decoder keeps using same old value. This results into green patches and
decoding is not proper.

Root Cause: The max_references is updated only once when the instance is
created for the first time.

Fix: Added a check along with the context->decoder to check if the
context->templat.max_references has changed. If yes, then we go ahead
and create the decoder again.

Reviewed-by: default avatarLeo Liu <leo.liu@amd.com>
Signed-off-by: default avatarKrunal Patel <krunalkumarmukeshkumar.patel@amd.corp-partner.google.com>
Part-of: <!15750>
parent 2f8d1146
No related branches found
No related tags found
1 merge request!15750frontend/va: Create decoder once the max_references is updated
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