diff options
author | James Almer <jamrial@gmail.com> | 2024-11-17 16:03:18 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2024-11-24 20:38:04 -0300 |
commit | 99f87251e0cc6bf8f2a7c21e1e72e6144e5a6701 (patch) | |
tree | 8c6168a0b12ca01b5e4f2fbe60090f9652e81e20 | |
parent | 281b7fc02e3158ee62c3c1d41267ddebb86578f0 (diff) | |
download | ffmpeg-99f87251e0cc6bf8f2a7c21e1e72e6144e5a6701.tar.gz |
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 <jamrial@gmail.com>
-rw-r--r-- | libavcodec/libfdk-aacenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |