Thanks Wim, <br>We need to call peer link-function manually. 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> <
<a href="mailto:wim@fluendo.com">wim@fluendo.com</a>> 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>> Hi Everyone,<br>><br>> I have written my-filter plugin and a my-sink plugin.<br>> When I connect this my-sink plugin to filesrc directly its link<br>> function for sinkpad is triggered.<br>><br>> Now when the filter plugin is connected in between, the link for
<br>> disp-sink sinkpad is not triggered.<br>><br>> pipeline: filesrc location=xyz ! my-filter ! my-sink<br>><br>> In this case, the link functions for srcpad & sinkpad of my-filter are<br>> called by gstreamer while linking.
<br>> But the link-function associated with my-sink is not being called at<br>> all.<br>><br>> What could be the possible reason for this behaviour ?<br>> Please suggest some points if I'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>><br>> Thanks in advance,<br>> Vinayak<br>><br>> -------------------------------------------------------------------------<br>> Take Surveys. Earn Cash. Influence the Future of IT
<br>> Join SourceForge.net's Techsay panel and you'll get the chance to share your<br>> opinions on IT & business topics through brief surveys - and earn cash<br>> <a href="http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV">
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV</a><br>> _______________________________________________ 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 <<a href="mailto:wim@fluendo.com">
wim@fluendo.com</a>><br><br></blockquote></div><br>