Skip to content

Commit

Permalink
avcodec/truemotion2rt: also export key frame info
Browse files Browse the repository at this point in the history
Signed-off-by: Paul B Mahol <onemda@gmail.com>
  • Loading branch information
richardpl committed May 22, 2016
1 parent 854c405 commit cd506c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libavcodec/truemotion2rt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cd506c2

Please sign in to comment.