From ae15bf12fdb68934a4ef471e6fc7fd7da35545f9 Mon Sep 17 00:00:00 2001 From: albeu Date: Thu, 2 May 2002 10:32:55 +0000 Subject: [PATCH] printf to mp_msg + warning msg from MSGL_INFO to MSGT_WARN git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5933 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/open.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libmpdemux/open.c b/libmpdemux/open.c index 0d46f876d3..cd8adad12c 100644 --- a/libmpdemux/open.c +++ b/libmpdemux/open.c @@ -368,7 +368,7 @@ if(dvd_title){ 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 @@ int code,i; } 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 @@ int code,i; } 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; }