<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
I actually made the code reproduce my problem. I don't add the textoverlay at the decoding of the video stream. I add it later on the decoding of the sub file and shove it between the ffmpegcolorspace and xvimagesink. I suppose this forceful unlinking has something to do with it. New code-> http://pastebin.com/ZPmj810S<br>What should I do? (I don't want to put unnecessary textoverlays if there's no subtitle file).<br><br><hr id="stopSpelling">From: sledgehammer_999@hotmail.com<br>To: gstreamer-devel@lists.sourceforge.net<br>Date: Wed, 29 Sep 2010 16:06:24 +0300<br>Subject: Re: [gst-devel] Pipeline with multiple filesources is stalled.<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>
@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>                                           
<br>------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev<br>_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel                                            </body>
</html>