[MPlayer-dev-eng] [PATCH] save from mass of 'skip' message printed by ad_libdca when verbose

Diego Biurrun diego at biurrun.de
Wed Dec 5 18:57:43 CET 2007


On Wed, Dec 05, 2007 at 11:28:25PM +0800, Ulion wrote:
> 
> When ad_libdca matching dts sync header, it will print N 'skip'
> messages when skiped N byte in verbose mode.
> When I test a dts file:
> http://pessoal.onda.com.br/rjamorim/stuff/test.dts.zip, each dts frame
> need skip 1042 bytes to find next dts sync words, so it's totally
> unacceptable for so many repeated meanless log messages.
> 
> Here's my fix for it. If there's no object, I will apply it in 2 days.

I think I have a better idea: Move the message to MSGL_DBG2 or comment
out the mp_msg call, it's just for debugging anyway.  Probably the
latter is preferable.

Diego



More information about the MPlayer-dev-eng mailing list