Bug 52570

Summary: Can you specify the offset and size of a d3dvideosink element?
Product: GStreamer SDK Reporter: testsdk123
Component: Windows SDK DistributionAssignee: bugs
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description testsdk123 2012-07-27 06:19:33 UTC
In a c-code implementation is it possible to specify the offset and size when displaying video raw RGB.

So far I cannot find documentation for this element.

If you cannot specify the window location and size of this element. Is there
another sink element?  eg. dshowVideoSink

The videoscale element could allow you to set the size. 

Is there any control over the window position and attributes such as disabling
the window frame.
Comment 1 Josep Torra 2012-07-27 07:29:16 UTC
Please read an understand the basic tutorial 5[*] and focus your attention on the XOverlay interface.

[*] http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+5%3A+GUI+toolkit+integration
Comment 2 testsdk123 2012-07-27 13:48:41 UTC
Thanks for the comment, does that mean this something like this should work?

 gst_x_overlay_set_window_handle (GST_X_OVERLAY (d3dvideosink1), hwnd1 );
 gst_x_overlay_set_window_handle (GST_X_OVERLAY (d3dvideosink2), hwnd2 );
 gst_x_overlay_set_window_handle (GST_X_OVERLAY (d3dvideosink3), hwnd3 );
 gst_x_overlay_set_window_handle (GST_X_OVERLAY (d3dvideosink4), hwnd4 );
Comment 3 Josep Torra 2012-07-27 14:13:50 UTC
Yes, you can try to build the tutorial and see how it works.
Comment 4 Sebastian Dröge (slomo) 2012-08-06 09:47:59 UTC
Is there anything left to be done here?
Comment 5 testsdk123 2012-08-13 01:54:05 UTC
ok, I will look at basic tutorial #5.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.