Mercurial > mplayer.hg
comparison mplayer.c @ 1564:9fa2a290fa99
mp_msg init
author | arpi |
---|---|
date | Thu, 16 Aug 2001 22:40:06 +0000 |
parents | eee7951a23af |
children | 5c7760aa4f94 |
comparison
equal
deleted
inserted
replaced
1563:0199567db534 | 1564:9fa2a290fa99 |
---|---|
18 | 18 |
19 #include <fcntl.h> | 19 #include <fcntl.h> |
20 | 20 |
21 #include "version.h" | 21 #include "version.h" |
22 #include "config.h" | 22 #include "config.h" |
23 #include "mp_msg.h" | |
23 | 24 |
24 #include "cfgparser.h" | 25 #include "cfgparser.h" |
25 #include "cfg-mplayer-def.h" | 26 #include "cfg-mplayer-def.h" |
26 | 27 |
27 #ifdef USE_SUB | 28 #ifdef USE_SUB |
451 if ( nogui ) | 452 if ( nogui ) |
452 { | 453 { |
453 #endif | 454 #endif |
454 parse_cfgfiles(); | 455 parse_cfgfiles(); |
455 if (parse_command_line(conf, argc, argv, envp, &filename) < 0) exit(1); | 456 if (parse_command_line(conf, argc, argv, envp, &filename) < 0) exit(1); |
457 | |
458 mp_msg_init(verbose+MSGL_STATUS); | |
456 | 459 |
457 // Many users forget to include command line in bugreports... | 460 // Many users forget to include command line in bugreports... |
458 if(verbose){ | 461 if(verbose){ |
459 printf("CommandLine:"); | 462 printf("CommandLine:"); |
460 for(i=1;i<argc;i++)printf(" '%s'",argv[i]); | 463 for(i=1;i<argc;i++)printf(" '%s'",argv[i]); |