[gst-devel] how to link the name property in the application file..

Sebastian Dröge slomo at circular-chaos.org
Fri Oct 5 08:38:42 CEST 2007


Am Freitag, den 05.10.2007, 10:58 +0530 schrieb trimurthulu amaradhi:
> Hi,
> I have the following gst-launch.. it works fine with the name
> property.. I want to write the application in C.. But I dont know how
> to link the name 
> property  in  the  application file.
> gst-launch filesrc location=/usr/local/movies/sample_50kbit.3gp !
> decodebin name=decoder decoder. ! ffmpegcolorspace ! xvimagesink
> decoder. ! audioconvert ! audioresample ! osssink 
> 
> 
> can anybody tell me how to link this name property with the elements..

Hi,
simply do g_object_set (G_OBJECT (decoder), "name", "decoder", NULL)

Bye





More information about the gstreamer-devel mailing list