[gst-devel] gstWin32 gst_directdraw_sink_set_window_id question

Sebastien Moutte sebastien at moutte.net
Fri May 25 13:03:04 CEST 2007


Hi,

You have to use the X overlay interface by doing the followings :

 + include <gst/interfaces/xoverlay.h>

+ add libgstinterfaces-0.10.lib to your link list

+ call gst_x_overlay_set_xwindow_id (GST_X_OVERLAY (directdrawsink
_pointer), your_video_window_handle);

Seb

 

From: gstreamer-devel-bounces at lists.sourceforge.net
[mailto:gstreamer-devel-bounces at lists.sourceforge.net] On Behalf Of Riccardo
Corona
Sent: vendredi 25 mai 2007 11:48
To: gstreamer-devel at lists.sourceforge.net
Subject: [gst-devel] gstWin32 gst_directdraw_sink_set_window_id question

 

Hi,
can someone tell me how to get the "GstXOverlay * overlay" parameter nedeed
into the function:

gst_directdraw_sink_set_window_id (GstXOverlay * overlay, ULONG window_id)

Of the directdrawsink element for gstwin32?
I need it the set my personal window rather than the default one of gst.
Thank's. 
-- 
Riccardo Corona 

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


More information about the gstreamer-devel mailing list