[gst-devel] How to set window height & width using Playbin

Debsu debojyoti.pal at wipro.com
Fri Jan 22 14:20:21 CET 2010


Hi Julien,



You are absolutely right. I achieved that in the following way:

1.	Create a playbin.
2.	Make an element (imgSink) from factory ximagesink.
3.	Set the already created XWindow height & width to imgSink.
4.	Then add XWindow handle to imgSink by using
gst_x_overlay_set_xwindow_id().
5.	Set the "force-aspect-ratio" of imgSink to false.
6.	Lastly set the imgSink to the Playbin properties "video-sink".



Thanks all of your help.



Regards,

Deb






Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com

-- 
View this message in context: http://n4.nabble.com/How-to-set-window-height-width-using-Playbin-tp1018443p1100013.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100122/49f353cc/attachment.htm>


More information about the gstreamer-devel mailing list