[FFmpeg-devel] [PATCH 2/6] vaapi: Remove H.264 baseline profile

Derek Buitenhuis derek.buitenhuis at gmail.com
Sun Oct 8 18:44:22 EEST 2017


On 10/8/2017 4:11 PM, Mark Thompson wrote:
> +    case FF_PROFILE_H264_BASELINE:
> +        // Baseline profile is not supported, assume the user meant
> +        // constrained baseline instead.
> +        avctx->profile = FF_PROFILE_H264_CONSTRAINED_BASELINE;

Trying to automatically (and silently!) guess what the user wanted
is never a good idea, IMO. At the very least, print a warning.

- Derek


More information about the ffmpeg-devel mailing list