forked from FFmpeg/FFmpeg
avcodec/truemotion2rt: also export key frame info
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
854c405dab
commit
cd506c2792
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||
}
|
||||
|
||||
p->pict_type = AV_PICTURE_TYPE_I;
|
||||
p->key_frame = 1;
|
||||
*got_frame = 1;
|
||||
|
||||
return buf_size;
|
||||
|
|
Loading…
Add table
Reference in a new issue