How to set a parent Windows ID for directdrawsink

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set a parent Windows ID for directdrawsink

Thomas Winkler-5

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

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-directdrawsink.html

 

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 “force-aspect-ratio”.

 

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

 

Best regards,

Thomas


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to set a parent Windows ID for directdrawsink

Thomas Winkler-5

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: [hidden email] [mailto:[hidden email]] Im Auftrag von Thomas Winkler
Gesendet: Dienstag, 17. Juni 2008 17:44
An: [hidden email]
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

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-directdrawsink.html

 

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 “force-aspect-ratio”.

 

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

 

Best regards,

Thomas



__________ NOD32 3194 (20080617) Information __________

Diese E-Mail wurde vom NOD32 antivirus system gepr|ft
http://www.nod32.com


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel