[FFmpeg-cvslog] avformat/subtitles: reduce log level of UTF-16 warning

wm4 git at videolan.org
Wed Oct 29 18:30:22 CET 2014


ffmpeg | branch: master | wm4 <nfxjfg at googlemail.com> | Wed Oct 29 18:29:43 2014 +0100| [e5813d96d67b7c9276fb98d5e75acf092a48c25d] | committer: Carl Eugen Hoyos

avformat/subtitles: reduce log level of UTF-16 warning

Applications can use this to silence the message.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e5813d96d67b7c9276fb98d5e75acf092a48c25d
---

 libavformat/subtitles.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/subtitles.c b/libavformat/subtitles.c
index 7f4bdef..67624fc 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");
 }
 



More information about the ffmpeg-cvslog mailing list