[FFmpeg-cvslog] avcodec/truemotion2rt: also export key frame info

Paul B Mahol git at videolan.org
Sun May 22 23:34:48 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun May 22 23:32:38 2016 +0200| [cd506c2792296a0a13eb07c06c4f5f3e7c3330bc] | committer: Paul B Mahol

avcodec/truemotion2rt: also export key frame info

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cd506c2792296a0a13eb07c06c4f5f3e7c3330bc
---

 libavcodec/truemotion2rt.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/truemotion2rt.c b/libavcodec/truemotion2rt.c
index ef0e2cb..49f2114 100644
--- a/libavcodec/truemotion2rt.c
+++ b/libavcodec/truemotion2rt.c
@@ -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;



More information about the ffmpeg-cvslog mailing list