[MPlayer-dev-eng] [PATCH] reduce DVD playback spamminess in verbose mode

Diego Biurrun diego at biurrun.de
Sun May 22 20:41:00 CEST 2005


Hi!

Unless somebody vehemently protests, I'm going to shut up DVD playback
in verbose mode a little, currently the console gets spammed with hex
numbers...

Diego
-------------- next part --------------
Index: libmpdemux/stream_dvd.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream_dvd.c,v
retrieving revision 1.1
diff -u -r1.1 stream_dvd.c
--- libmpdemux/stream_dvd.c	19 May 2005 19:50:39 -0000	1.1
+++ libmpdemux/stream_dvd.c	22 May 2005 18:38:33 -0000
@@ -190,7 +190,7 @@
 static int dvd_next_cell(dvd_priv_t *d) {
   int next_cell=d->cur_cell;
 
-  mp_msg(MSGT_DVD,MSGL_V, "dvd_next_cell: next1=0x%X  \n",next_cell);
+  mp_msg(MSGT_DVD,MSGL_DBG2, "dvd_next_cell: next1=0x%X  \n",next_cell);
   if( d->cur_pgc->cell_playback[ next_cell ].block_type == BLOCK_TYPE_ANGLE_BLOCK ) {
     while(next_cell<d->last_cell) {
       if( d->cur_pgc->cell_playback[next_cell].block_mode == BLOCK_MODE_LAST_CELL )
@@ -198,7 +198,7 @@
       ++next_cell;
     }
   }
-  mp_msg(MSGT_DVD,MSGL_V, "dvd_next_cell: next2=0x%X  \n",next_cell);
+  mp_msg(MSGT_DVD,MSGL_DBG2, "dvd_next_cell: next2=0x%X  \n",next_cell);
 
   ++next_cell;
   if(next_cell>=d->last_cell) 
@@ -208,7 +208,7 @@
     if(next_cell>=d->last_cell) 
       return -1; // EOF
   }
-  mp_msg(MSGT_DVD,MSGL_V, "dvd_next_cell: next3=0x%X  \n",next_cell);
+  mp_msg(MSGT_DVD,MSGL_DBG2, "dvd_next_cell: next3=0x%X  \n",next_cell);
   return next_cell;
 }
 


More information about the MPlayer-dev-eng mailing list