It seems solved just adding the property of async = true on all appsink elements of dsmcc part..<br><br><div class="gmail_quote">El 1 / setembre / 2009 12:55, Miquel Ŕngel Farré <span dir="ltr">&lt;<a href="mailto:miquel.farre@gmail.com">miquel.farre@gmail.com</a>&gt;</span> ha escrit:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br><br>I am working on an application that starts with this pipeline:<br><br>filesrc location = filename ! mpegtsparse ! mpegtsdemux <br>
<br>when mpegtsdemux have a new pad, it calls the function on_new_pad:<br> in case of video it completes the pipeline with:<br>
   queue ! mpeg2dec ! videoscale ! capsfilter ! glupload ! fakesink (with sync=true)<br><br> in case of dsmcc content:<br>   queue ! appsink<br><br>The problem is that the video part plays faster than the usual, nevertheless if I comment all the dsmcc part on &quot;on_pad_added&quot; function, video part plays correctly.<br>

<br>I can&#39;t found where is the problem, but I think it is related with the dsmcc part pipeline, here you can found the link to &quot;on_pad_added&quot; function:<br><a href="http://www.pastebin.ca/1550152" target="_blank">http://pastebin.ca/1550152</a><br>

<br>Thanks,<br><font color="#888888"><br>Miquel<br>
</font></blockquote></div><br>