[gst-devel] GstElement *thread

陈终 bastist at 163.com
Sat Sep 1 06:44:56 CEST 2007


 Hi,
 I am learning GStreamer, reading theGStreamer Application Development Manual (0.10.12.1),and there is a sample in Chanpter20.'XML in GStreamer' in the Manual about thread element.
part of sample code below:
******************************************************************************************
 ..........
 GstElement *thread, *thread2; /* create a new thread to hold the elements */
 thread = gst_element_factory_make ("thread", "thread");
 g_assert (thread != NULL);
 thread2 = gst_element_factory_make ("thread", "thread2");
 g_assert (thread2 != NULL); .........
******************************************************************************************
when i excute this program, the value of thread and thread2 are both 0,
use "gst-inspect thread",the result is "no such element or plugins".
I don't know how to slove this problem,could somebody help me?
Thanks!
bastist
The whole code of this sample,please visit this webpage:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-xml.html#section-xml-write
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070901/dd71a6e5/attachment.htm>


More information about the gstreamer-devel mailing list