[FFmpeg-devel] [PATCH] avformat/subtitles: reduce log level of UTF-16 warning
wm4
nfxjfg at googlemail.com
Wed Oct 29 18:07:40 CET 2014
Applications can use this to silence the message.
---
As suggested. Not a great solution, but does the job to me.
---
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");
}
--
2.1.1
More information about the ffmpeg-devel
mailing list