The branch, master has been updated
via 4377affc28d92f759d1de15ac68ce07b1aa48810 (commit)
from 378d5bb08a460a3c34a3ea89cd442424e1d035df (commit)
- Log -----------------------------------------------------------------
commit 4377affc28d92f759d1de15ac68ce07b1aa48810
Author: James Almer <[email protected]>
AuthorDate: Tue Oct 7 15:39:34 2025 -0300
Commit: Zhao Zhili <[email protected]>
CommitDate: Thu Oct 9 02:52:46 2025 +0000
avcodec/hevc/refs: don't unconditionally discard non-IRAP frames if no IRAP
frame was seen before
Should fix issue #20661
Signed-off-by: James Almer <[email protected]>
diff --git a/libavcodec/hevc/refs.c b/libavcodec/hevc/refs.c
index ab2e075af0..15f37bfcd8 100644
--- a/libavcodec/hevc/refs.c
+++ b/libavcodec/hevc/refs.c
@@ -235,6 +235,7 @@ int ff_hevc_set_new_ref(HEVCContext *s, HEVCLayerContext
*l, int poc)
s->layers[0].cur_frame - s->layers[0].DPB : -1;
no_output = !IS_IRAP(s) && (s->poc < s->recovery_poc) &&
+ HEVC_IS_RECOVERING(s) &&
!(s->avctx->flags & AV_CODEC_FLAG_OUTPUT_CORRUPT) &&
!(s->avctx->flags2 & AV_CODEC_FLAG2_SHOW_ALL);
if (s->sh.pic_output_flag && !no_output)
-----------------------------------------------------------------------
Summary of changes:
libavcodec/hevc/refs.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]