From e19ea0218aeec60d5dc2c55b6db310242b7757e7 Mon Sep 17 00:00:00 2001
From: Christophe Gisquet <christophe.gisquet@gmail.com>
Date: Fri, 25 Sep 2015 23:25:07 +0200
Subject: [PATCH] dnxhddec: indicate colorspace

It is supposed to only old BT.709 colorspaces.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/dnxhddec.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index 4a423603886..044e4798b73 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;
 }
 
-- 
GitLab