[FFmpeg-cvslog] lavc/prores: restore pict_type and key_frame setting.

Clément Bœsch git at videolan.org
Fri Mar 22 23:12:35 CET 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri Mar 22 19:56:39 2013 +0100| [859f7da543bfade2dd00307c2bb361e0213899f5] | committer: Clément Bœsch

lavc/prores: restore pict_type and key_frame setting.

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

 libavcodec/proresdec2.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c
index b7aef36..bd6404a 100644
--- a/libavcodec/proresdec2.c
+++ b/libavcodec/proresdec2.c
@@ -533,6 +533,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
     }
 
     ctx->frame = frame;
+    ctx->frame->pict_type = AV_PICTURE_TYPE_I;
+    ctx->frame->key_frame = 1;
     ctx->first_field = 1;
 
     buf += 8;



More information about the ffmpeg-cvslog mailing list