Re: [FFmpeg-devel] [PATCH] avformat/subtitles: reduce log level of UTF-16 warning

2014-10-30 Thread Nicolas George
L'octidi 8 brumaire, an CCXXIII, wm4 a écrit : > Would a patch adding a "this is UTF-8" flag to the subtitle codec > headers be accepted? No. > What should it be named? sub_charenc Regards, -- Nicolas George signature.asc Description: Digital signature __

Re: [FFmpeg-devel] [PATCH] avformat/subtitles: reduce log level of UTF-16 warning

2014-10-29 Thread wm4
On Wed, 29 Oct 2014 17:30:47 + (UTC) Carl Eugen Hoyos wrote: > wm4 googlemail.com> writes: > > > if (s && (r->type == FF_UTF16LE || r->type == FF_UTF16BE)) > > -av_log(s, AV_LOG_WARNING, > > +av_log(s, AV_LOG_INFO, > > Patch applied. > > Thank you, Carl Eugen Thanks.

Re: [FFmpeg-devel] [PATCH] avformat/subtitles: reduce log level of UTF-16 warning

2014-10-29 Thread Carl Eugen Hoyos
wm4 googlemail.com> writes: > if (s && (r->type == FF_UTF16LE || r->type == FF_UTF16BE)) > -av_log(s, AV_LOG_WARNING, > +av_log(s, AV_LOG_INFO, Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpe

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

2014-10-29 Thread wm4
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/li