[MPlayer-dev-eng] Switching to gtk2.0
Alexander Strasser
eclipse7 at gmx.net
Sat Jul 31 11:31:22 CEST 2004
Hi,
On Sat, Jul 31, 2004 at 05:22:24AM +0200, Gianluigi Tiesi wrote:
> Gtk1.2 doesn't exists on windows, there are 1.3 + glib2.0 versions around
> but ar not very suitable.
AFAIK it's available together with an xserver in cygwin.
But as I already stated in my previous mail, that's not a
good solution for having the GUI in win32. But iirc
someone got it to run this way on win32 ( Diego? ).
> I've looked into gui source and yes there is a lot of non win32
> portable stuff.
right ;)
> Btw I think mplayer should move to gtk2 since most of additional stuff
> compiled in has already support for version 2 of glib2 then mplayer
> whould be linked against glib1.2 and glib2.0 (at least on my system).
> The first step can be switching only the libs (it should be harmfull).
If want, send a patch. I think it would be good for the GUI users on the
systems it runs on now. One could also think of making it configurable which
GTK version to use ( at least for now ), as already suggested by someone else.
Also there was already a patch for switching to GTK2 floating around. But i
didn't have a look at it, so no idea about its quality. But maybe if it is a
to big deal you shouldn't do it, because of your code probably being replaced
again in a not so distant future ( see below ).
> The second step should be remove the X11-only code and use the
> corresponding stuff in gtk2.0 so mplayer will have a gui also on win32.
This is the plan, as i said in my previous mail. Only that we plan to
use another library encapsulating the skinning. It is implemented using
only GTK2, so win32 ports should be easily possible if we do it right
on our side, too.
> Mplayer on win32 is yet a good alternative to the bugged directshow
> system, that loses often the audio/video sync. But most of users
> are not happy to use a command line player on windows (perhaps this is
> not directly my problem).
They are simply not used to do it. Though they often don't even need the
commandline and just have to associate MPlayer with the movie files they
like to be played back in MPlayer. But unfortunately they are not very
used to keyboard driven control either. But all that is another story
and besides that, i think a GUI for a movie player is a nice thing to have.
> There is no way to make a gui port on win32 with gtk1.2.
See above.
> Anyway I can help the porting, I'm not a win32 gui expert programmer
> but I've a base knowledge of the win32 gui system and a more deep
> knowledge of the win32 subsystem.
Help will be greatly appreciated at the given time.
Alex (beastd)
More information about the MPlayer-dev-eng
mailing list