On 01/10/15 16:54, Vittorio Giovara wrote:
> 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;
>  }
>  
> 

If you are sure, why not?
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to