[FFmpeg-devel] [PATCH 2/4] dnxhddec: indicate colorspace

Christophe Gisquet christophe.gisquet at gmail.com
Fri Sep 25 23:25:07 CEST 2015


It is supposed to only old BT.709 colorspaces.
---
 libavcodec/dnxhddec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index d9762e4..0722aa0 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -82,6 +82,7 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx)
 
     ctx->avctx = avctx;
     ctx->cid = -1;
+    avctx->colorspace = AVCOL_SPC_BT709;
     return 0;
 }
 
-- 
2.5.3.windows.1



More information about the ffmpeg-devel mailing list