mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-17 20:17:55 +02:00
avcodec/audiotoolboxdec: set set keyframe flag in output frames
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>
This commit is contained in:
parent
ffdace5ad4
commit
d3dd14bf5b
@ -542,6 +542,8 @@ static int ffat_decode(AVCodecContext *avctx, AVFrame *frame,
|
||||
|
||||
frame->nb_samples = avctx->frame_size;
|
||||
|
||||
frame->flags |= AV_FRAME_FLAG_KEY;
|
||||
|
||||
out_buffers.mBuffers[0].mData = at->decoded_data;
|
||||
|
||||
ret = AudioConverterFillComplexBuffer(at->converter, ffat_decode_callback, avctx,
|
||||
|
Loading…
x
Reference in New Issue
Block a user