diff options
author | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-06 11:59:14 +0000 |
---|---|---|
committer | ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2005-12-06 11:59:14 +0000 |
commit | a6f7543bfb2bb39de957bc010108715401125ffc (patch) | |
tree | 8872897bf8cd19102e7f8009aae6116ee595dedc /codec-cfg.c | |
parent | 2c5c0cea5f82da612ca231d62a38cd31c14ad64f (diff) | |
download | mpv-a6f7543bfb2bb39de957bc010108715401125ffc.tar.bz2 mpv-a6f7543bfb2bb39de957bc010108715401125ffc.tar.xz |
100l, codec-cfg needs fixing after -msgl patch
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17112 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'codec-cfg.c')
-rw-r--r-- | codec-cfg.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/codec-cfg.c b/codec-cfg.c index afa33e5626..afffa6377f 100644 --- a/codec-cfg.c +++ b/codec-cfg.c @@ -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) |