ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Sun Nov 17 16:03:18 2024 -0300| [99f87251e0cc6bf8f2a7c21e1e72e6144e5a6701] | committer: James Almer
avcodec/libfdk-aacenc: set keyframe in output packets 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=99f87251e0cc6bf8f2a7c21e1e72e6144e5a6701 --- libavcodec/libfdk-aacenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/libfdk-aacenc.c b/libavcodec/libfdk-aacenc.c index cc0ae0d8da..4dcfb25db7 100644 --- a/libavcodec/libfdk-aacenc.c +++ b/libavcodec/libfdk-aacenc.c @@ -549,6 +549,7 @@ static int aac_encode_frame(AVCodecContext *avctx, AVPacket *avpkt, } avpkt->size = out_args.numOutBytes; + avpkt->flags |= AV_PKT_FLAG_KEY; *got_packet_ptr = 1; return 0; } _______________________________________________ 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".