[gst-devel] Need info on how to set window size for gstremer.

girish akasapu akasapu2985 at gmail.com
Thu Jul 29 01:10:08 CEST 2010


HI,

I have an app, which send samples of video to gstreamer. when the play back
starts, gstreamer get the window size automatically based on the source.
But I want to control it.

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.

Thanks,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100728/76e2cee7/attachment.htm>


More information about the gstreamer-devel mailing list