From e5813d96d67b7c9276fb98d5e75acf092a48c25d Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 29 Oct 2014 18:29:43 +0100 Subject: [PATCH] avformat/subtitles: reduce log level of UTF-16 warning Applications can use this to silence the message. --- libavformat/subtitles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/subtitles.c b/libavformat/subtitles.c index 7f4bdef45e..67624fcf32 100644 --- a/libavformat/subtitles.c +++ b/libavformat/subtitles.c @@ -46,7 +46,7 @@ void ff_text_init_avio(void *s, FFTextReader *r, AVIOContext *pb) } } if (s && (r->type == FF_UTF16LE || r->type == FF_UTF16BE)) - av_log(s, AV_LOG_WARNING, + av_log(s, AV_LOG_INFO, "UTF16 is automatically converted to UTF8, do not specify a character encoding\n"); }