Mercurial > mplayer.hg
changeset 17111:1bfbe748d908
100l, codec-cfg needs fixing after -msgl patch
author | ods15 |
---|---|
date | Tue, 06 Dec 2005 11:59:14 +0000 |
parents | ba9bf9beb23f |
children | 0b6e4b1e2c0d |
files | codec-cfg.c |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/codec-cfg.c Tue Dec 06 11:17:26 2005 +0000 +++ b/codec-cfg.c Tue Dec 06 11:59:14 2005 +0000 @@ -886,6 +886,10 @@ 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 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 @@ #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)