[MPlayer-cvslog] CVS: main codec-cfg.c,1.120,1.121
Alexander Strasser
eclipse7 at gmx.net
Tue Dec 6 15:07:43 CET 2005
Hi Oded,
Oded Shimon CVS wrote:
> CVS change done by Oded Shimon CVS
>
> Update of /cvsroot/mplayer/main
> In directory mail:/var2/tmp/cvs-serv20372
>
> Modified Files:
> codec-cfg.c
> Log Message:
> 100l, codec-cfg needs fixing after -msgl patch
>
>
> Index: codec-cfg.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/codec-cfg.c,v
> retrieving revision 1.120
> retrieving revision 1.121
> diff -u -r1.120 -r1.121
> --- codec-cfg.c 30 Aug 2005 23:56:21 -0000 1.120
> +++ codec-cfg.c 6 Dec 2005 11:59:14 -0000 1.121
> @@ -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)
This brings me back to the question i asked myself, while
reading your last messages/patches, several times:
Why didn't you leave mp_msg_levels in mp_msg.c then added
mp_msg_level_all there too and declare them extern in mp_msg.h?
And yes i would have asked that earlier, but i was reading all
this messages in a row just a few minutes ago.
Alex (beastd)
More information about the MPlayer-cvslog
mailing list