[gst-devel] How to set a parent Windows ID for directdrawsink

Thomas Winkler wi-tom at gmx.de
Tue Jun 17 18:46:38 CEST 2008

Hi all,


I found a way to set the Window ID using following code:


GstXOverlay* ov = (GstXOverlay*)ddrawsink;

gst_x_overlay_set_xwindow_id(ov, my_window_id);


where ddrawsink is my GstElement and my_window_id is the ID of the parent
Window I would render to.



Von: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] Im Auftrag von Thomas
Gesendet: Dienstag, 17. Juni 2008 17:44
An: gstreamer-devel at lists.sourceforge.net
Betreff: [gst-devel] How to set a parent Windows ID for directdrawsink


Hi all,


gst-plugins-good contains "directdrawsink" as synonym of "xvimagesink" for
Windows OS and works properly for me.

I have read the Reference Documentation about "directdrawsink" on



The Description for that Element is:

"DirectdrawSink renders video RGB frames to any win32 window. This element
can receive a window ID from the application through the XOverlay interface
and will then render video frames in this window. If no Window ID was
provided by the application, the element will create its own internal window
and render into it."


My Question is how to set the Window ID. The only property I found is


So, what can I do to tell my "directdrawsink" the Window ID from my
Application Window?


Best regards,


__________ NOD32 3194 (20080617) Information __________

Diese E-Mail wurde vom NOD32 antivirus system gepr|ft

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080617/b749c323/attachment.htm>

More information about the gstreamer-devel mailing list