2017-11-23 4:37 GMT+01:00  <vdi...@akamai.com>:

> +    s = x264_encoder_headers(x4->enc, &nal, &nnal);
> +    if (avctx->profile == FF_PROFILE_UNKNOWN)
> +        avctx->profile = nal->p_payload[5];
> +    if (avctx->level == FF_LEVEL_UNKNOWN)
> +        avctx->level = nal->p_payload[7];

Why are these conditional?

(Do we really guarantee that our profile and level
fields contain the exact same values as the nal
payload?)

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to