Browse Source

avcodec/libopenjpegdec: Set key frame metadata

Signed-off-by: Michael Bradshaw <mjbshaw@google.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Bradshaw Michael Niedermayer 9 years ago
parent
commit
616513ef6e
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/libopenjpegdec.c

+ 2
- 0
libavcodec/libopenjpegdec.c View File

@@ -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…
Cancel
Save