Commit 616513ef authored by Michael Bradshaw's avatar Michael Bradshaw Committed by Michael Niedermayer

avcodec/libopenjpegdec: Set key frame metadata

Signed-off-by: 's avatarMichael Bradshaw <mjbshaw@google.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent d7a3c742
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment