[gst-devel] Fwd: no such element factory

Michal Benes michal.benes at itonis.tv
Tue Nov 14 17:28:07 CET 2006


Hi Kapil,

Kapil Agrawal píše v Út 14. 11. 2006 v 20:13 +0530:
> Hi,
> 
> can someone plz  copy the following program and compile and plz check
> whether its working or not
> since i am still getting the same error .
> 

>         gst_element_link_many (filesrc, decoder, filter, sink, NULL); 
>         gst_bin_add_many (GST_BIN (pipeline), filesrc, decoder, sink,
> NULL);

This is wrong. First, you do not create "filter" anywhere. But the real 
problem is that you first need to add elements to the bin and then link
them.

Try this:

gst_bin_add_many (GST_BIN (pipeline), filesrc, decoder, sink, NULL);
gst_element_link_many (filesrc, decoder, sink, NULL); 

and check return codes of these functions.

	Michal





More information about the gstreamer-devel mailing list