[gst-devel] gst_element_factory_make returning failure

Suman Kumar Sanjeev Prasanna Suman.Prasanna at aricent.com
Thu Mar 5 05:03:39 CET 2009


Dear Stefan,

Thank you. i will try them. i think the plug-in is not getting de-initalized properly.
________________________________________
From: Stefan Kost [ensonic at hora-obscura.de]
Sent: Thursday, March 05, 2009 1:25 AM
To: Discussion of the development of GStreamer
Subject: Re: [gst-devel] gst_element_factory_make returning failure

Suman Kumar Sanjeev Prasanna schrieb:
> Dear Friends,
>
> This is my first mail to this forum. I created a plugin and when i run through gst-launch it is working fine. however, when i tried it with a sample application, i am facing an problem while creating a pipeline.
>
>  gst_element_factory_make ("senddata", "senddata");   is failing. few times it works without any problem, but it often returns failure.
>
> i m doing socket operations within the plug-in. But, even if i restart the system and try, i am still getting the same problem. any suggestions to resolve this issue?
>
> Thanks,
> Suman
>
In case you create several instances of it, just use
  gst_element_factory_make ("senddata", NULL);
or
  gst_element_factory_make ("senddata", "unique name");

Besides that you need to debug you plugin. Add GST_DEBUG statements and so on
and try to pinpoint where the construction fails.

Stefan

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error,please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."




More information about the gstreamer-devel mailing list