[gst-devel] Need info on how to set window size for gstremer.
Robert Powell
rob at yorba.org
Thu Aug 5 20:31:27 CEST 2010
On Wed, Jul 28, 2010 at 4:10 PM, girish akasapu <akasapu2985 at gmail.com>wrote:
> I tried
> videoscale = gst_element_factory_make ("videoscale", "video_scale");
> g_object_set (G_OBJECT (videoscale), "width", 500, NULL);
> g_object_set (G_OBJECT (videoscale), "height", 500, NULL);
>
> but I am getting
>
> - object class 'GstVideoScale' has not property named 'width'
> - object class 'GstVideoScale' has not property named 'height'
>
> Need some help here. how do i set the width and height correctly, and is
> there any way to change the dimensions while the video is playing.
>
>
The 'sink' pad on the videoscale element has caps that can describe the
width and height.
Hope that helps.
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100805/dffa79bf/attachment.htm>
More information about the gstreamer-devel
mailing list