<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">Hi Tim</div><div class=""><br class=""></div><div class="">I replaced ‘textoverlay' with ‘identity'. The error is still the same. You can also see in the graphs below, that the identity element is linked only if I remove and add again the ximagesink. Anyway, the BadShmSeg error persists.</div><div class=""><br class=""></div><div class="">Code: <a href="http://pastebin.com/g1MWRtdu" class="">http://pastebin.com/g1MWRtdu</a></div><div class="">Debug log: <a href="http://pastebin.com/swakGaJv" class="">http://pastebin.com/swakGaJv</a></div><div class=""><br class=""></div><div class=""><img height="460" width="1057" apple-width="yes" apple-height="yes" apple-inline="yes" id="243401E9-C23F-4444-BA20-22D3D4609849" src="cid:202061B6-E2CF-4540-8D53-115B6A5EEC99@ifi.uio.no" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Code: <a href="http://pastebin.com/pY9PLDKr" class="">http://pastebin.com/pY9PLDKr</a></div><div class="">Debug log: <a href="http://pastebin.com/enPCN9LV" class="">http://pastebin.com/enPCN9LV</a></div><div class=""><img height="204" width="1212" apple-width="yes" apple-height="yes" apple-inline="yes" id="50F3D62A-7435-4561-B727-BC1AB5E62A44" src="cid:C4DDC166-07A8-4155-A684-4192C5C7CA6F@ifi.uio.no" class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Did you push your changes of test-effect-switch.c into the repository? I cannot see them in <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/icles/test-effect-switch.c?h=master" class="">http://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/icles/test-effect-switch.c?h=master</a></div><div class=""><br class=""></div><div class="">Yes, I should look at the gstinsertbin library. Thank you for the hint.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Francisco</div><br class=""><blockquote type="cite" class="">On 15 Nov 2014, at 17:55, Tim Müller <<a href="mailto:tim@centricular.com" class="">tim@centricular.com</a>> wrote:<br class=""><br class="">On Sat, 2014-11-15 at 16:53 +0100, Francisco Velázquez wrote:<br class=""><br class="">Hi Francisco,<br class=""><br class=""><blockquote type="cite" class="">Your advice in c) works fine. When using elements in silent mode, do<br class="">they still introduce an overhead? For example, do they perform some<br class="">copy operations that can impact performance? does it depend on the<br class="">implementation of each element, or does the GStreamer framework handle<br class="">silent elements as they were not instantiated?<br class=""></blockquote><br class="">The "silent" property is textoverlay-specific (and badly named too). If<br class="">it's set to TRUE, the element should have close to no overhead, it<br class="">should just push on the video buffers received, without doing any<br class="">copying or other work.<br class=""><br class=""><br class=""><blockquote type="cite" class="">Do you know what else can I try to make it work when adding dynamically<br class="">the textoverlay into the pipeline? I would like to apply similar<br class="">scenarios for other pipelines. In my scenarios, it is relatively<br class="">unknown the element that will come in the future. Therefore, I cannot<br class="">link them before using the “silent” property.<br class=""></blockquote><br class="">You could also try to put in an identity element instead, to see if that<br class="">works. There's also a little gstinsertbin library in gst-plugins-bad,<br class="">which might work fine for what you want to do as well.<br class=""><br class="">I also modified the test-effect-switch.c test from -base to include a<br class="">textoverlay, and that seems to work fine too (with a small mod to get<br class="">the right sink pad).<br class=""><br class="">Cheers<br class=""> -Tim<br class=""><br class="">-- <br class="">Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" class="">http://www.centricular.com</a><br class=""><br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></blockquote><br class=""></body></html>