Mercurial > mplayer.hg
comparison mencoder.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 | 7bea806b9c5f |
children | 2e117fd620a0 |
comparison
equal
deleted
inserted
replaced
6137:6253fc19afb1 | 6138:523014df7d32 |
---|---|
635 if(!sh_video->inited){ | 635 if(!sh_video->inited){ |
636 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantFindVideoCodec,sh_video->format); | 636 mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CantFindVideoCodec,sh_video->format); |
637 mp_msg(MSGT_CPLAYER,MSGL_HINT, MSGTR_TryUpgradeCodecsConfOrRTFM,get_path("codecs.conf")); | 637 mp_msg(MSGT_CPLAYER,MSGL_HINT, MSGTR_TryUpgradeCodecsConfOrRTFM,get_path("codecs.conf")); |
638 mencoder_exit(1,NULL); | 638 mencoder_exit(1,NULL); |
639 } | 639 } |
640 mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s video codec: [%s] drv:%d prio:%d (%s)\n", | 640 mp_msg(MSGT_CPLAYER,MSGL_INFO,"%s video codec: [%s] drv:%d (%s)\n", |
641 video_codec?mp_gettext("Forcing"):mp_gettext("Detected"),sh_video->codec->name,sh_video->codec->driver,sh_video->codec->priority!=-1?sh_video->codec->priority:0,sh_video->codec->info); | 641 video_codec?mp_gettext("Forcing"):mp_gettext("Detected"),sh_video->codec->name,sh_video->codec->driver,sh_video->codec->info); |
642 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); | 642 mp_msg(MSGT_CPLAYER,MSGL_INFO,"==========================================================================\n"); |
643 | 643 |
644 } | 644 } |
645 | 645 |
646 /* force output fourcc to .. */ | 646 /* force output fourcc to .. */ |