ffmpeg | branch: master | Michael Bradshaw <[email protected]> | Tue Dec 27 21:34:41 2016 -0800| [616513ef6e6d967bbda4543e548d8d3fd4e49c15] | committer: Michael Niedermayer
avcodec/libopenjpegdec: Set key frame metadata Signed-off-by: Michael Bradshaw <[email protected]> Signed-off-by: Michael Niedermayer <[email protected]> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=616513ef6e6d967bbda4543e548d8d3fd4e49c15 --- libavcodec/libopenjpegdec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/libopenjpegdec.c b/libavcodec/libopenjpegdec.c index b4ce834..f09f4ba 100644 --- a/libavcodec/libopenjpegdec.c +++ b/libavcodec/libopenjpegdec.c @@ -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: _______________________________________________ ffmpeg-cvslog mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
