aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2013-08-01 21:14:48 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-08-01 21:14:48 +0200
commitf118b4175905f85126123018907ba805ac2d3468 (patch)
tree38ae46355b971df2eb55cf030c193955b57a0235 /ffmpeg.c
parentfbc0004b4b1db946841e1b114bc3c6f08a3c1e45 (diff)
downloadffmpeg-f118b4175905f85126123018907ba805ac2d3468.tar.gz
ffmpeg: raise level for message printed in case of auto-select pixel format
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>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 01cfaea850..cc709ab10c 100644
--- 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));