mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-09 14:07:31 +02:00
lavc: clarify experimental codec message
Should be easier for new users to get a working output. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
fd707add6b
commit
73f3f6baff
@ -789,7 +789,7 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, AVCodec *codec, AVD
|
|||||||
|
|
||||||
if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
|
if (codec->capabilities & CODEC_CAP_EXPERIMENTAL)
|
||||||
if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
|
if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, see -strict -2\n");
|
av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, try -strict -2\n");
|
||||||
ret = -1;
|
ret = -1;
|
||||||
goto free_and_end;
|
goto free_and_end;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user