mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-05 11:36:37 +00: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:
parent
d7a3c7427f
commit
616513ef6e
@ -546,6 +546,8 @@ static int libopenjpeg_decode_frame(AVCodecContext *avctx,
|
||||
}
|
||||
|
||||
*got_frame = 1;
|
||||
picture->pict_type = AV_PICTURE_TYPE_I;
|
||||
picture->key_frame = 1;
|
||||
ret = buf_size;
|
||||
|
||||
done:
|
||||
|
Loading…
x
Reference in New Issue
Block a user