changeset 5932:1ebeebca86f3

printf to mp_msg + warning msg from MSGL_INFO to MSGT_WARN
author albeu
date Thu, 02 May 2002 10:32:55 +0000
parents 95c14d5dbb22
children 14b46420840b
files libmpdemux/open.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/open.c	Thu May 02 10:28:33 2002 +0000
+++ b/libmpdemux/open.c	Thu May 02 10:32:55 2002 +0000
@@ -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;
 }