summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-05-22 23:32:38 +0200
committerPaul B Mahol <onemda@gmail.com>2016-05-22 23:32:38 +0200
commitcd506c2792296a0a13eb07c06c4f5f3e7c3330bc (patch)
treea51f4459f9dee65ac43e2e39b263b3d0bcb5ac3a
parent854c405dab236f8219bb0059cc3e0b8c6f66faca (diff)
avcodec/truemotion2rt: also export key frame info
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavcodec/truemotion2rt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/truemotion2rt.c b/libavcodec/truemotion2rt.c
index ef0e2cbd59..49f2114ca0 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;