From c835270280ec535fcb407737504a6996174a6195 Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 20 May 2002 03:25:26 +0000 Subject: big cosmetics patch, cleanup of messages printed by mplayer and libs. some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/vd.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) (limited to 'libmpcodecs/vd.c') diff --git a/libmpcodecs/vd.c b/libmpcodecs/vd.c index 6739809d4d..42f34bc227 100644 --- a/libmpcodecs/vd.c +++ b/libmpcodecs/vd.c @@ -135,7 +135,7 @@ int mpcodecs_config_vo(sh_video_t *sh, int w, int h, unsigned int preferred_outf sh->disp_h=h; #endif - mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VDec: vo config request - %d x %d, %s \n", + mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VDec: vo config request - %d x %d (preferred csp: %s) \n", w,h,vo_format_name(preferred_outfmt)); // if(!vf) return 1; // temp hack @@ -233,24 +233,6 @@ csp_again: } } -#if 0 - if(video_out->get_info) - { const vo_info_t *info = video_out->get_info(); - mp_msg(MSGT_CPLAYER,MSGL_INFO,"VO: [%s] %dx%d => %dx%d %s %s%s%s%s\n",info->short_name, - sh->disp_w,sh->disp_h, - screen_size_x,screen_size_y, - vo_format_name(out_fmt), - fullscreen?"fs ":"", - vidmode?"vm ":"", - softzoom?"zoom ":"", - (flip==1)?"flip ":""); - mp_msg(MSGT_CPLAYER,MSGL_V,"VO: Description: %s\n",info->name); - mp_msg(MSGT_CPLAYER,MSGL_V,"VO: Author: %s\n", info->author); - if(info->comment && strlen(info->comment) > 0) - mp_msg(MSGT_CPLAYER,MSGL_V,"VO: Comment: %s\n", info->comment); - } -#endif - // Time to config libvo! mp_msg(MSGT_CPLAYER,MSGL_V,"video_out->init(%dx%d->%dx%d,flags=%d,'%s',0x%X)\n", sh->disp_w,sh->disp_h, -- cgit v1.2.3