This was broken by dc7bd7c5a5 because it was depending on the behaviour of all frames setting key_frame by default, although that was also wrong because it didn't unset the flag for duplicate/repeated frames.
Signed-off-by: Jeremy James <[email protected]> --- libavcodec/qtrle.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libavcodec/qtrle.c b/libavcodec/qtrle.c index 1c2fbc357e..c8bee8ce44 100644 --- a/libavcodec/qtrle.c +++ b/libavcodec/qtrle.c @@ -557,6 +557,10 @@ done: if ((ret = av_frame_ref(rframe, s->frame)) < 0) return ret; + + rframe->pict_type = !duplicate ? AV_PICTURE_TYPE_I : AV_PICTURE_TYPE_P; + rframe->flags = AV_FRAME_FLAG_KEY * !duplicate; + *got_frame = 1; /* always report that the buffer was completely consumed */ -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list -- [email protected] To unsubscribe send an email to [email protected]
