[FFmpeg-cvslog] r26247 - trunk/libavcodec/dnxhddec.c

bcoudurier subversion
Thu Jan 6 21:17:51 CET 2011


Author: bcoudurier
Date: Thu Jan  6 21:17:51 2011
New Revision: 26247

Log:
In dnxhd decoder, set key_frame on decoded frame

Modified:
   trunk/libavcodec/dnxhddec.c

Modified: trunk/libavcodec/dnxhddec.c
==============================================================================
--- trunk/libavcodec/dnxhddec.c	Thu Jan  6 16:22:58 2011	(r26246)
+++ trunk/libavcodec/dnxhddec.c	Thu Jan  6 21:17:51 2011	(r26247)
@@ -56,6 +56,7 @@ static av_cold int dnxhd_decode_init(AVC
     dsputil_init(&ctx->dsp, avctx);
     avctx->coded_frame = &ctx->picture;
     ctx->picture.type = FF_I_TYPE;
+    ctx->picture.key_frame = 1;
     return 0;
 }
 



More information about the ffmpeg-cvslog mailing list