From 35ca5c0b6b16fe284eb7147011f516c23a29ec0f Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Thu, 6 Jan 2011 20:17:51 +0000 Subject: In dnxhd decoder, set key_frame on decoded frame Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dnxhddec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/dnxhddec.c') diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 8212487f97..67dd7fc60d 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -56,6 +56,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx) dsputil_init(&ctx->dsp, avctx); avctx->coded_frame = &ctx->picture; ctx->picture.type = FF_I_TYPE; + ctx->picture.key_frame = 1; return 0; } -- cgit v1.2.3