Commit 35ca5c0b authored by Baptiste Coudurier's avatar Baptiste Coudurier

In dnxhd decoder, set key_frame on decoded frame

Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a92c30d7
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment