dnxhddec: indicate colorspace
authorChristophe Gisquet <christophe.gisquet@gmail.com>
Fri, 25 Sep 2015 21:25:07 +0000 (23:25 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 25 Sep 2015 23:07:40 +0000 (01:07 +0200)
It is supposed to only old BT.709 colorspaces.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dnxhddec.c

index 4a42360..044e479 100644 (file)
@@ -73,6 +73,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
 
     ctx->avctx = avctx;
     ctx->cid = -1;
+    avctx->colorspace = AVCOL_SPC_BT709;
     return 0;
 }