[MPlayer-users] Patch: gui and wid conflict (Was: Using -wid <id != 0> and gui=yes in config file)
Zoltan Ponekker
pontscho at kac.poliod.hu
Sat Jan 4 09:26:43 CET 2003
Hali
> -#ifdef HAVE_NEW_GUI
> - if ( use_gui ) cfg_read();
> -#endif
> -
> #ifdef NEW_CONFIG
> playtree = m_config_parse_mp_command_line(mconfig, argc, argv);
> if(playtree == NULL)
> exit(1);
> #else
> if(m_config_parse_command_line(mconfig, argc, argv) < 0) exit(1); // error parsing cmdline
> +#endif
> +
> +#ifdef HAVE_NEW_GUI
> + if (use_gui && WinID) use_gui = 0;
> + if ( use_gui ) cfg_read();
> #endif
Arghhh.... This is wrong patch. If you read gui's config file after
command line parsing, the common parameters is overwriting with gui's
parameters. Rejected.
Pontscho / fresh!mindworkz
---
Ps: Vagymi.
More information about the MPlayer-users
mailing list