[gst-devel] Gstreamer App equivalent of gst-launch command line
daniel fischer
dan at f3c.com
Fri Aug 11 10:51:36 CEST 2006
"Deeptendu Bikash" <dbikash at gmail.com> (on Fri, 11 Aug 2006 12:47:14 +0530):
> gst_element_link_pads_filtered(udpsrc, "src", depayloader, "sink",
> rtpcaps);
> gst_element_link_pads(depayloader, "src", decoder, "sink");
> gst_element_link_pads(decoder, "src", sink, "sink");
> gst_bin_add_many(GST_BIN(pipeline), udpsrc, depayloader, decoder, sink,
> NULL);
>
> However, on running this I get the following error:
> GStreamer-CRITICAL **: gst_element_link_pads_filtered: assertion
> `GST_IS_BIN (parent)' failed
> Error: Internal data flow error.
>
> How could I get this working?
hey,
i think you'll just have to do the bin_add_many before linking the pads..
-dan
--
http://0xDF.com/
http://iterative.org/
More information about the gstreamer-devel
mailing list