|
From: Michal B. <mic...@it...> - 2006-11-14 16:29:23
|
Hi Kapil, Kapil Agrawal p=C3=AD=C5=A1e v =C3=9At 14. 11. 2006 v 20:13 +0530: > Hi, >=20 > 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 . >=20 > gst_element_link_many (filesrc, decoder, filter, sink, NULL);=20 > gst_bin_add_many (GST_BIN (pipeline), filesrc, decoder, sink, > NULL); This is wrong. First, you do not create "filter" anywhere. But the real=20 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);=20 and check return codes of these functions. Michal |