Don't depend on the generic code setting this. This is in preparation for a following change.
Signed-off-by: James Almer <jamr...@gmail.com> --- libavformat/tests/movenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index 2fd5c67e76..23a827e97c 100644 --- a/libavformat/tests/movenc.c +++ b/libavformat/tests/movenc.c @@ -270,6 +270,7 @@ static void mux_frames(int n, int c) pkt->dts = pkt->pts = audio_dts; pkt->stream_index = 1; pkt->duration = audio_duration; + pkt->flags |= AV_PKT_FLAG_KEY; audio_dts += audio_duration; } else { if (frames == end_frames) -- 2.47.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".