]> git.sesse.net Git - ffmpeg/commitdiff
ffmpeg: raise level for message printed in case of auto-select pixel format
authorStefano Sabatini <stefasab@gmail.com>
Thu, 1 Aug 2013 19:14:48 +0000 (21:14 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 1 Aug 2013 19:14:48 +0000 (21:14 +0200)
Increase visibility, in order to decrease troubleshooting for
users generating non playable H.264 content.

Signed-off-by: Carl Eugen Hoyos <cehoyos@ag.or.at>
ffmpeg.c

index 01cfaea8500fd8af0596c2c4c08650dae6fe4ba4..cc709ab10c92fb8d94bb92f0eb3045e16d5e85f7 100644 (file)
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2336,7 +2336,7 @@ static int transcode_init(void)
                 if (!strncmp(ost->enc->name, "libx264", 7) &&
                     codec->pix_fmt == AV_PIX_FMT_NONE &&
                     ost->filter->filter->inputs[0]->format != AV_PIX_FMT_YUV420P)
-                    av_log(NULL, AV_LOG_INFO,
+                    av_log(NULL, AV_LOG_WARNING,
                            "No pixel format specified, %s for H.264 encoding chosen.\n"
                            "Use -pix_fmt yuv420p for compatibility with outdated media players.\n",
                            av_get_pix_fmt_name(ost->filter->filter->inputs[0]->format));