ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Sat Nov 16 17:47:43 2024 -0300| [f938b2b3f51f959de84bc22c75529b77626b2596] | committer: James Almer
avformat/test/movenc: set audio packets as key frames 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> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f938b2b3f51f959de84bc22c75529b77626b2596 --- 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) _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".