On 06/10/16 11:10, Yogender Gupta wrote:
> +    if (ctx->data_pix_fmt == AV_PIX_FMT_YUV444P) {
> +        cc->profileGUID = NV_ENC_H264_PROFILE_HIGH_444_GUID;
> +        avctx->profile = FF_PROFILE_H264_HIGH_444_PREDICTIVE;
> +    }

I'd fold it in the current check for ctx->data_pix_fmt that is already
present.

Currently we are setting FF_PROFILE_H264_HIGH_444 should it be changed
to FF_PROFILE_H264_HIGH_444_PREDICTIVE as well?

lu




_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to