diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-01-06 20:17:51 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2011-01-06 20:17:51 +0000 |
commit | 35ca5c0b6b16fe284eb7147011f516c23a29ec0f (patch) | |
tree | 0e8dec38e945d9f354942f383c811a5fe25a98f9 /libavcodec | |
parent | a92c30d76ef3bc58be47acb8f32a2fd0bfe403e3 (diff) | |
download | ffmpeg-35ca5c0b6b16fe284eb7147011f516c23a29ec0f.tar.gz |
In dnxhd decoder, set key_frame on decoded frame
Originally committed as revision 26247 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dnxhddec.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } |