Show video on Windows
Manuel
manuel at wenns-um-email-geht.de
Fri Sep 26 10:48:32 PDT 2014
Hi all,
in my program I use PyGObject/PyGI and GStreamer to show a video in my
GUI. The video is shown in a Gtk.DrawingArea and therefore I need to get
it's window-handle in the realize-signal-handler. On Linux I get that
handle using:
drawing_area.get_property('window').get_xid()
But how do I get the handle on Windows?
I searched on the internet but found only examples for PyGtk using
window.handle which does not work using PyGI.
The GStreamer documentation provides an example which uses the
GDK_WINDOW_HWND macro to get the handle. This macro uses AFAIK
gdk_win32_drawable_get_handle. But how to do it in Python using PyGI?
Best regards
More information about the gstreamer-devel
mailing list