Mercurial > mplayer.hg
comparison libmpcodecs/dec_video.c @ 6138:523014df7d32
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
author | arpi |
---|---|
date | Mon, 20 May 2002 03:25:26 +0000 |
parents | fc19842f703a |
children | 936aa617e829 |
comparison
equal
deleted
inserted
replaced
6137:6253fc19afb1 | 6138:523014df7d32 |
---|---|
58 if(ret>0){ | 58 if(ret>0){ |
59 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"[PP] Using codec's postprocessing, max q = %d\n",ret); | 59 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"[PP] Using codec's postprocessing, max q = %d\n",ret); |
60 return ret; | 60 return ret; |
61 } | 61 } |
62 } | 62 } |
63 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"[PP] Sorry, postprocessing is not available\n"); | 63 // mp_msg(MSGT_DECVIDEO,MSGL_INFO,"[PP] Sorry, postprocessing is not available\n"); |
64 return 0; | 64 return 0; |
65 } | 65 } |
66 | 66 |
67 void set_video_quality(sh_video_t *sh_video,int quality){ | 67 void set_video_quality(sh_video_t *sh_video,int quality){ |
68 vf_instance_t* vf=sh_video->vfilter; | 68 vf_instance_t* vf=sh_video->vfilter; |
155 mp_msg(MSGT_DECVIDEO,MSGL_WARN,"Requested video codec family [%s] (vfm=%d) not available (enable it at compile time!)\n", | 155 mp_msg(MSGT_DECVIDEO,MSGL_WARN,"Requested video codec family [%s] (vfm=%d) not available (enable it at compile time!)\n", |
156 sh_video->codec->name, sh_video->codec->driver); | 156 sh_video->codec->name, sh_video->codec->driver); |
157 continue; | 157 continue; |
158 } | 158 } |
159 // it's available, let's try to init! | 159 // it's available, let's try to init! |
160 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Opening Video Decoder: [%s] %s\n",mpvdec->info->short_name,mpvdec->info->name); | 160 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"Opening video decoder: [%s] %s\n",mpvdec->info->short_name,mpvdec->info->name); |
161 if(!mpvdec->init(sh_video)){ | 161 if(!mpvdec->init(sh_video)){ |
162 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VDecoder init failed :(\n"); | 162 mp_msg(MSGT_DECVIDEO,MSGL_INFO,"VDecoder init failed :(\n"); |
163 continue; // try next... | 163 continue; // try next... |
164 } | 164 } |
165 // Yeah! We got it! | 165 // Yeah! We got it! |