Browse Source

In dnxhd decoder, set key_frame on decoded frame

Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Baptiste Coudurier 15 years ago
parent
commit
35ca5c0b6b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/dnxhddec.c

+ 1
- 0
libavcodec/dnxhddec.c View File

@@ -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;
}



Loading…
Cancel
Save