[Gstreamer-openmax] VIDEO DISPLAY SETTINGS PROBLEM

Felipe Contreras felipe.contreras at nokia.com
Mon Jan 12 01:30:36 PST 2009


On Wed, 2009-01-07 at 17:52 +0530, ext udaykiran pichika wrote:
> Hi Felipe,
> 
>  Iam integrating gst-openmax with our company Openmax layer.. 
> By this audio is working fine..But for the video we r getting problems
> like display width & height..
> 
> Actually these two will update from x_scale and y_scale..
> 
> observation::x_scale and y_scale values are returned as zeroes....
> 
> set_property and get_property functions are used to update x_scale and
> y_scale..
> but these functions are not getting called from GObjectClass..
> 
> when we r hard coded these values we are able to run H263 &
> sample.divx(mpeg4 dec) only video files..
> 
> Questions::
> 
> 1) Why set_property and get_property functions are not calling??
> 2) If it is the case how to calculate x_scale and y_scale values???
> 
> We have integrated master changes also....But the result is same..

The x and y scale properties on the video sink are set just like with
any GObject. Someone, possibly the client application, should do it,
probably with g_object_set[1].

If nobody is setting these properties, then they'll be 0. Perhaps the
default value should be 1?

[1] http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#g-object-set

-- 
Felipe Contreras





More information about the Gstreamer-openmax mailing list