[Mplayer-cvslog] CVS: main/libmpdemux open.c,1.42,1.43

Alban Bedel CVS albeu at mplayerhq.hu
Thu May 2 12:32:58 CEST 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var/tmp.root/cvs-serv22040/libmpdemux

Modified Files:
	open.c 
Log Message:
printf to mp_msg + warning msg from MSGL_INFO to MSGT_WARN


Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- open.c	24 Apr 2002 21:19:09 -0000	1.42
+++ open.c	2 May 2002 10:32:55 -0000	1.43
@@ -368,7 +368,7 @@
   stream=new_stream(-1,STREAMTYPE_DVD);
   stream->start_pos=(off_t)d->cur_pack*2048;
   stream->end_pos=(off_t)(d->cur_pgc->cell_playback[d->last_cell-1].last_sector)*2048;
-  printf("DVD start=%d end=%d  \n",d->cur_pack,d->cur_pgc->cell_playback[d->last_cell-1].last_sector);
+  mp_msg(MSGT_DVD,MSGL_V,"DVD start=%d end=%d  \n",d->cur_pack,d->cur_pgc->cell_playback[d->last_cell-1].last_sector);
   stream->priv=(void*)d;
   return stream;
 }
@@ -511,7 +511,7 @@
     }
     lang+=2; while (lang[0]==',' || lang[0]==' ') ++lang;
   }
-  mp_msg(MSGT_OPEN,MSGL_INFO,"No matching DVD audio language found!\n");
+  mp_msg(MSGT_OPEN,MSGL_WARN,"No matching DVD audio language found!\n");
   return -1;
 }
 
@@ -529,7 +529,7 @@
     }
     lang+=2; while (lang[0]==',' || lang[0]==' ') ++lang;
   }
-  mp_msg(MSGT_OPEN,MSGL_INFO,"No matching DVD subtitle language found!\n");
+  mp_msg(MSGT_OPEN,MSGL_WARN,"No matching DVD subtitle language found!\n");
   return -1;
 }
 




More information about the MPlayer-cvslog mailing list