From: Christophe Gisquet <[email protected]> This codec is supposed to only hold BT.709.
Signed-off-by: Vittorio Giovara <[email protected]> --- libavcodec/dnxhddec.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 50747ea..7e0a5e0 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -69,6 +69,9 @@ static av_cold int dnxhd_decode_init(AVCodecContext *avctx) DNXHDContext *ctx = avctx->priv_data; ctx->avctx = avctx; + + avctx->colorspace = AVCOL_SPC_BT709; + return 0; } -- 1.9.5 (Apple Git-50.3) _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
