diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-10-20 14:50:10 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-10-21 21:11:02 +0200 |
commit | 8c2dbc3805009010fdf6b72d6129fa9fc417321a (patch) | |
tree | d120958688aeb5fb15e4cd8a05ac4b6359588b06 /libavcodec/utils.c | |
parent | 571309181859b1aad0b971327e1786783b52adaf (diff) | |
download | ffmpeg-8c2dbc3805009010fdf6b72d6129fa9fc417321a.tar.gz |
lavc/utils: provide more feedback in case of experimental codec
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 06999f5425..f7367143c3 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -888,7 +888,9 @@ int attribute_align_arg avcodec_open2(AVCodecContext *avctx, const AVCodec *code if (codec->capabilities & CODEC_CAP_EXPERIMENTAL) if (avctx->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { - av_log(avctx, AV_LOG_ERROR, "Codec is experimental but experimental codecs are not enabled, try -strict -2\n"); + av_log(avctx, AV_LOG_ERROR, + "Codec %s is experimental but experimental codecs are not enabled, try -strict %d\n", + codec->name, FF_COMPLIANCE_EXPERIMENTAL); ret = -1; goto free_and_end; } |