summaryrefslogtreecommitdiffstats
path: root/codec-cfg.c
diff options
context:
space:
mode:
authorods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 11:59:14 +0000
committerods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-12-06 11:59:14 +0000
commita6f7543bfb2bb39de957bc010108715401125ffc (patch)
tree8872897bf8cd19102e7f8009aae6116ee595dedc /codec-cfg.c
parent2c5c0cea5f82da612ca231d62a38cd31c14ad64f (diff)
downloadmpv-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.c12
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)