mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc/vvc_ps: Correct NoOutputBeforeRecoveryFlag of IDR
The NoOutputBeforeRecoveryFlag of an IDR frame should be set to 1 as spec says in 8.1.1. Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
parent
c252d2b84a
commit
4027c2e1d0
@ -742,7 +742,7 @@ static int decode_frame_ps(VVCFrameParamSets *fps, const VVCParamSets *ps,
|
||||
static void decode_recovery_flag(VVCContext *s)
|
||||
{
|
||||
if (IS_IDR(s))
|
||||
s->no_output_before_recovery_flag = 0;
|
||||
s->no_output_before_recovery_flag = 1;
|
||||
else if (IS_CRA(s) || IS_GDR(s))
|
||||
s->no_output_before_recovery_flag = s->last_eos;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user