[MPlayer-dev-eng] [PATCH] libmpdemux/aviprint.c printf --> mp_msg

Diego Biurrun diego at biurrun.de
Mon Mar 27 19:25:47 CEST 2006


On Mon, Mar 13, 2006 at 07:52:18PM +0100, Diego Biurrun wrote:
> On Mon, Mar 06, 2006 at 10:06:07AM +0100, Diego Biurrun wrote:
> > On Sun, Mar 05, 2006 at 08:10:10PM +0100, Reimar Döffinger wrote:
> > > On Sun, Mar 05, 2006 at 07:41:30PM +0100, Diego Biurrun wrote:
> > > 
> > > > What do you have in mind?
> > > > 
> > > >   void print_wave_header(WAVEFORMATEX *h){
> > > > 
> > > > -->
> > > > 
> > > >   void print_wave_header(WAVEFORMATEX *h, int verbose_level){
> > > > 
> > > > ?
> > > 
> > > Yes. At least that's the best idea to solve this at least somewhat
> > > consistently.
> > 
> > OK, check out the attached patch.  It's just an RFC, so I haven't
> > changed the calls to print_*_header outside of aviheader.c.  Let's see
> > what you think of this first.
> > 
> > I've also followed Oded's suggestion of changing if(verbose>0) to
> > if(mp_msg_test(MSGT_HEADER,MSGL_V).
> 
> And here is a fancy version that does all the fancy bells and whistles
> like compile and run..

Applied.

Diego




More information about the MPlayer-dev-eng mailing list