avcodec/truemotion2rt: also export key frame info

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2016-05-22 23:32:38 +02:00
parent 854c405dab
commit cd506c2792
1 changed files with 1 additions and 0 deletions

View File

@ -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;