[FFmpeg-cvslog] dnxhddec: indicate colorspace

Christophe Gisquet git at videolan.org
Sat Sep 26 01:26:26 CEST 2015


ffmpeg | branch: master | Christophe Gisquet <christophe.gisquet at gmail.com> | Fri Sep 25 23:25:07 2015 +0200| [e19ea0218aeec60d5dc2c55b6db310242b7757e7] | committer: Michael Niedermayer

dnxhddec: indicate colorspace

It is supposed to only old BT.709 colorspaces.

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e19ea0218aeec60d5dc2c55b6db310242b7757e7
---

 libavcodec/dnxhddec.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 4a42360..044e479 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -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;
 }
 



More information about the ffmpeg-cvslog mailing list