[FFmpeg-cvslog] lavc/utils: provide more feedback in case of experimental codec
Stefano Sabatini
git at videolan.org
Sun Oct 21 21:12:04 CEST 2012
ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sat Oct 20 14:50:10 2012 +0200| [8c2dbc3805009010fdf6b72d6129fa9fc417321a] | committer: Stefano Sabatini
lavc/utils: provide more feedback in case of experimental codec
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8c2dbc3805009010fdf6b72d6129fa9fc417321a
---
libavcodec/utils.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 06999f5..f736714 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;
}
More information about the ffmpeg-cvslog
mailing list