[MPlayer-users] How to get a window ID for using with -wid?
kdekorte at yahoo.com
Tue May 18 19:15:44 CEST 2004
This is from the mplayerplug-in code
instance->drawing_area = gtk_drawing_area_new();
instance->drawing_area, 0, 0);
snprintf(buffer, 1024, "0x%x", (int) instance->player_window);
instance->td->argv[i++] = strdup(buffer);
instance->player_window is the value that is passed to the -wid parameter.
On Tuesday 18 May 2004 10:41 am, welko wrote:
> I'm writing a small GTK-based program and I want to embed MPlayer in it.
> Using the option -wid seams to be the right way to do it, but I cannot
> figure out what kind of window ID MPlayer expects. Is it possible to use
> MPlayer instead of a regular GTK-widget?
> Could somebody give/point me to an example on how to do it, please? It
> would be best for me if the example is _not_ in perl.
> Best regards
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
More information about the MPlayer-users