[gst-devel] Init pipeline in the function
Igor Mironchick
imironchick at gmail.com
Thu Apr 22 09:08:14 CEST 2010
Hi.
I'm a new with gstreamer and glib.
Why can't I init pipeline in function and then use it somewhere else.
Here is the code example:
void initPipeline( GstElement * pipeline )
{
pipeline = gst_pipeline_new( "camera" )
}
void main()
{
GstElement * pipeline;
initPipeline( pipeline );
// And here pipeline == 0 !!! Why?
}
--
Regards,
Igor Mironchick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100422/39c6cf4b/attachment.htm>
More information about the gstreamer-devel
mailing list