You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/truemotion2rt: also export key frame info
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -203,6 +203,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
p->pict_type = AV_PICTURE_TYPE_I;
|
p->pict_type = AV_PICTURE_TYPE_I;
|
||||||
|
p->key_frame = 1;
|
||||||
*got_frame = 1;
|
*got_frame = 1;
|
||||||
|
|
||||||
return buf_size;
|
return buf_size;
|
||||||
|
Reference in New Issue
Block a user