[gst-devel] GStreamer-CRITICAL **: gst_bin_add: assertion `GST_IS_ELEMENT (element)' failed
Tim-Philipp Müller
t.i.m at zen.co.uk
Wed May 6 20:05:39 CEST 2009
On Wed, 2009-05-06 at 14:42 -0300, Guilherme wrote:
> At the moment my pipeline is like that:
>
> gst_bin_add_many (GST_BIN (pipeline), source, filesink, NULL);
> gst_element_link_many (source, filesink, NULL);
>
> How can I implement such a feature? I tried inserting the buffer
> directly in the pipeline but a get the following error:
>
> (buffer_analysis:3559): GStreamer-CRITICAL **: gst_bin_add:
> assertion `GST_IS_ELEMENT (element)' failed
This usually means that either source or filesink or both are NULL or
uninitialised bogus pointers. You can run your code in gdb with the
G_DEBUG=fatal_warnings environment variable set, to make it stop at the
warning (so you can investigate).
If you post your full code, someone might be able to spot the problem.
Cheers
-Tim
More information about the gstreamer-devel
mailing list