1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 21:06:00 +00:00

100l, codec-cfg needs fixing after -msgl patch

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2005-12-06 11:59:14 +00:00
parent 2c5c0cea5f
commit a6f7543bfb

View File

@ -886,6 +886,10 @@ void gtkMessageBox( int type,char * str ) { return; }
int use_gui = 0;
#endif
int mp_msg_levels[MSGT_MAX];
int mp_msg_level_all = MSGL_STATUS;
int verbose = 0;
void wrapline(FILE *f2,char *s){
int c;
if(!s){
@ -998,6 +1002,8 @@ int main(int argc, char* argv[])
int dshow=-1;
int win32ex=-1;
mp_msg_init();
/*
* Take path to codecs.conf from command line, or fall back on
* etc/codecs.conf
@ -1146,11 +1152,17 @@ int main(int argc, char* argv[])
#endif
#ifdef TESTING
int mp_msg_levels[MSGT_MAX];
int mp_msg_level_all = MSGL_STATUS;
int verbose = 0;
int main(void)
{
codecs_t *c;
int i,j, nr_codecs, state;
mp_msg_init();
if (!(parse_codec_cfg("etc/codecs.conf")))
return 0;
if (!video_codecs)