[gst-devel] Gstreamer App equivalent of gst-launch command line

Deeptendu Bikash dbikash at gmail.com
Fri Aug 11 11:07:55 CEST 2006


Thanks a lot, Daniel. The stuff now works!

I wonder why the Plugin Guide (Ch 9 - Building a Test Application) code puts
the link code before bin_add.

Deeptendu

On 8/11/06, daniel fischer <dan at f3c.com> wrote:
>
> "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/
>
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20060811/ab27fbe9/attachment.htm>


More information about the gstreamer-devel mailing list