1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avcodec/libopenjpegdec: Set key frame metadata

Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Bradshaw
2016-12-27 21:34:41 -08:00
committed by Michael Niedermayer
parent d7a3c7427f
commit 616513ef6e

View File

@@ -546,6 +546,8 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx,
} }
*got_frame = 1; *got_frame = 1;
picture->pict_type = AV_PICTURE_TYPE_I;
picture->key_frame = 1;
ret = buf_size; ret = buf_size;
done: done: