<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
@Sandeep Prakash<br>Yes, that was the problem. And it was pretty stupid too.<br><br>@thiago<br>You were right, it works fine in my example code. So I definetely do something wrong in my code. I will have a closer look into it. For anyone else whose interested here is a link to example code that plays a DivX/XviD-mp3 AVI file with external SRT subs(compile as C++ source)-->http://pastebin.com/vTJh7FcM<br><br>> Date: Tue, 28 Sep 2010 21:49:53 -0700<br>> From: 123sandy@gmail.com<br>> To: gstreamer-devel@lists.sourceforge.net<br>> Subject: Re: [gst-devel] Pipeline with multiple filesources is stalled.<br>> <br>> <br>> Hi <br>> <br>> One problem I found in the pad-added callback is:<br>> <br>> /*plug a queue in the pad and decided what to do according to the mimetype*/<br>>         queue = gst_element_factory_make("queue", NULL);<br>>         sinkpad = gst_element_get_static_pad(queue, "sink");<br>>         gst_pad_link(pad, sinkpad);<br>>         gst_object_unref(sinkpad);<br>> <br>> queue element has to be part of the bin for you to do a gst_pad_link. Here<br>> gst_pad_link will<br>> fail.<br>> <br>> /*plug a queue in the pad and decided what to do according to the mimetype*/<br>>         queue = gst_element_factory_make("queue", NULL);<br>> gst_bin_add(GST_BIN(pipeline), queue);<br>>         sinkpad = gst_element_get_static_pad(queue, "sink");<br>>         gst_pad_link(pad, sinkpad);<br>>         gst_object_unref(sinkpad);<br>> <br>> Next time better check all the return values.<br>> <br>> Regards,<br>> Sandeep Prakash<br>> http://sandeepprakash.homeip.net<br>> -- <br>> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pipeline-with-multiple-filesources-is-stalled-tp2714279p2718318.html<br>> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>> <br>> ------------------------------------------------------------------------------<br>> Start uncovering the many advantages of virtual appliances<br>> and start using them to simplify application deployment and<br>> accelerate your shift to cloud computing.<br>> http://p.sf.net/sfu/novell-sfdev2dev<br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> gstreamer-devel@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel<br>                                            </body>
</html>