[MPlayer-dev-eng] [PATCH] verbosity reduction in streaming, input, CPU detection

Diego Biurrun diego at biurrun.de
Tue Sep 26 00:13:35 CEST 2006


On Sun, Sep 24, 2006 at 11:11:11PM +0400, Evgeniy Stepanov wrote:
> On Sunday 24 September 2006 20:22, Diego Biurrun wrote:
> >
> > these are a couple of verbosity reduction patches I have accumulated in
> > my local tree.  I'd like to commit by the end of the week, comments
> > welcome.
> 
> I'd like to add this patch. It removes a meaningless message printed for each 
> subtitle file in the current directory.

And while we're at it, I'd like to add one more patch for ao_alsa.c.

Diego
-------------- next part --------------
Index: libao2/ao_alsa.c
===================================================================
--- libao2/ao_alsa.c	(revision 19982)
+++ libao2/ao_alsa.c	(working copy)
@@ -452,7 +452,7 @@
     ao_noblock = !block;
     parse_device(alsa_device, device.str, device.len);
 
-    mp_msg(MSGT_AO,MSGL_INFO,"alsa-init: using device %s\n", alsa_device);
+    mp_msg(MSGT_AO,MSGL_V,"alsa-init: using device %s\n", alsa_device);
 
     //setting modes for block or nonblock-mode
     if (ao_noblock) {
@@ -725,7 +725,7 @@
       }
       /* end setting sw-params */
 
-      mp_msg(MSGT_AO,MSGL_INFO,"alsa: %d Hz/%d channels/%d bpf/%d bytes buffer/%s\n",
+      mp_msg(MSGT_AO,MSGL_V,"alsa: %d Hz/%d channels/%d bpf/%d bytes buffer/%s\n",
 	     ao_data.samplerate, ao_data.channels, bytes_per_sample, ao_data.buffersize,
 	     snd_pcm_format_description(alsa_format));
 


More information about the MPlayer-dev-eng mailing list