[FFmpeg-devel] [PATCH] avformat: remove messages that are useful for ffmpeg.c only

wm4 nfxjfg at googlemail.com
Wed Oct 29 12:54:06 CET 2014

On Wed, 29 Oct 2014 09:35:32 +0000 (UTC)
Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> wm4 <nfxjfg <at> googlemail.com> writes:
> > > > For now, this message is annoying and useless for 
> > > > non-ffmpeg.c users, and as I understand, libav* is 
> > > > supposed to serve these users too.
> > > 
> > > Why don't you reduce the log level instead?
> > 
> > For what purpose?
> I was under the impression that a lot of messages 
> are currently output by the libraries and that you 
> are against seeing one more with warning level.
> But I am apparently wrong?

I output all messages starting from warnings (messages with higher
verbosity level are usually even more useless).

> The problem with reverting the patch is that a 
> user simply has no chance to understand why he 
> must not provide the "right" and documented 
> option to libavcodec in the utf-16 case as 
> explained in the ticket.
> Do you see another solution for this problem?

Read the commit message: either add a flag to avformat that subtitle
packets are always in UTF-8, or reject conversions from UTF-16, since
they can never happen.

More information about the ffmpeg-devel mailing list