Thanks Wim, <br>We need to call peer link-function manually.&nbsp; The gst_pad_set_link_function() docs says the same.<br><br>./v<br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Wim Taymans</b> &lt;
<a href="mailto:wim@fluendo.com">wim@fluendo.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Thu, 2007-01-11 at 17:23 +0530, Vinayak wrote:
<br>&gt; Hi Everyone,<br>&gt;<br>&gt; I have written my-filter plugin and a my-sink plugin.<br>&gt; When I connect this my-sink plugin to filesrc directly its link<br>&gt; function for sinkpad is triggered.<br>&gt;<br>&gt; Now when the filter plugin is connected in between, the link for
<br>&gt; disp-sink sinkpad is not triggered.<br>&gt;<br>&gt; pipeline:&nbsp;&nbsp; filesrc location=xyz !&nbsp;&nbsp;my-filter&nbsp;&nbsp;!&nbsp;&nbsp;my-sink<br>&gt;<br>&gt; In this case, the link functions for srcpad &amp; sinkpad of my-filter are<br>&gt; called by gstreamer while linking.
<br>&gt; But the link-function associated with my-sink is not being called at<br>&gt; all.<br>&gt;<br>&gt; What could be the possible reason for this behaviour ?<br>&gt; Please suggest some points if I&#39;m missing something here.
<br><br>If you installed a link function on the source pad of your custom<br>filter, make sure to call the peer link function yourself as stated in<br>the docs of gst_pad_set_link_function(). The reason being that else the
<br>link operation cannot be made to work/fail atomically.<br><br>Wim<br><br>&gt;<br>&gt; Thanks in advance,<br>&gt; Vinayak<br>&gt;<br>&gt; -------------------------------------------------------------------------<br>&gt; Take Surveys. Earn Cash. Influence the Future of IT
<br>&gt; Join SourceForge.net&#39;s Techsay panel and you&#39;ll get the chance to share your<br>&gt; opinions on IT &amp; business topics through brief surveys - and earn cash<br>&gt; <a href="http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV">
http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV</a><br>&gt; _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">
gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>--<br>Wim Taymans &lt;<a href="mailto:wim@fluendo.com">
wim@fluendo.com</a>&gt;<br><br></blockquote></div><br>