[FFmpeg-devel] superfluous log messages

Michael Niedermayer michaelni at gmx.at
Thu May 10 19:11:05 CEST 2012


On Thu, May 10, 2012 at 05:11:41AM -0400, Don Moir wrote:
> For some files, numerous log messages are output. These are sometimes useful during development but pretty much useless otherwise.
> 
> I go ahead and set my own log callback via av_log_set_callback that does nothing so as to prevent further processing.
> 
> Does anyone think it would be useful to call av_log_set_callback (NULL) ?
> 
> av_log would just check for a NULL av_log_callback and do nothing if NULL.
> 
> av_vlog would probably need to check for NULL as well.

good idea, ill push a change along these lines in a moment

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Democracy is the form of government in which you can choose your dictator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120510/45eb2106/attachment.asc>


More information about the ffmpeg-devel mailing list