Thank you Edward.  That makes sense.  <br><br>I have a custom bin with ghosted pads in a gnlsource.  I&#39;m currently ghosting the pad upon creation and then adding the final internal link once decodebin2 tells me it&#39;s ready.  On occasion, I run into a data flow error, but not consistently.  I&#39;m thinking it may be related to the order in which I&#39;m adding pads.  Is it better to ghost the bins pad after decodebin is connected? or does this order not matter?<br>
<br>Also, if I&#39;m ghosting the pad, do I have to manually remove it once streaming of that source is complete?  If so, what signal should I be listening for from gnlsource/gnlcomposition to know that its completed it&#39;s duties?<br>
<br>Thanks again.<br><br>Best,<br>Tim<br><br><div class="gmail_quote">On Tue, Dec 14, 2010 at 5:42 AM, Edward Hervey <span dir="ltr">&lt;<a href="mailto:bilboed@gmail.com">bilboed@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><div></div><div class="h5">On Mon, 2010-12-13 at 17:33 -0500, Timothy Braun wrote:<br>
&gt; Hey Everyone,<br>
&gt;   So I have a gnlcomposition which, for the matter of depicting the<br>
&gt; situation, has 5 sources.  3 sources play for 30 seconds followed by<br>
&gt; the remaining 2 sources for another 30 seconds.  This should produce a<br>
&gt; 1 minute video.  The composition has a videomixer in a gnloperation to<br>
&gt; mix the sources for final output.<br>
&gt;<br>
&gt;   I&#39;m running into a situation where the pipeline gets stuck during<br>
&gt; the transition from 3 sources to 2 sources.  It seems the video mixer<br>
&gt; is trying to send a seek event to all it&#39;s sink pads, which fails on<br>
&gt; the pad which no-longer has a source.  During my tests, the<br>
&gt; gnlcomposition will happily create new pads, ie. changing the order so<br>
&gt; it&#39;s 2 sources followed by 3 sources works fine.  But the opposite<br>
&gt; doesn&#39;t seem to be true, the gnlcomposition doesn&#39;t remove unused pads<br>
&gt; to it&#39;s operations.<br>
&gt;<br>
&gt;   This brings me to the question of, is there a signal I&#39;m not<br>
&gt; handling appropriately?  If so, any pointers on which one I should be<br>
&gt; listening for?<br>
<br>
</div></div>  If the element you put in a gnloperation has dynamic sink pads, the<br>
gnloperation will call gst_element_request_pad() and<br>
gst_element_release_request_pad() when needed.<br>
  videomixer alone should work fine in those cases. If you have put a<br>
custom element with ghostpads, make sure you check when they are<br>
added/removed and properly request/release the targets of those<br>
ghostpads.<br>
<br>
   Edward<br>
<br>
&gt;<br>
&gt;   Thanks,<br>
&gt;   Tim<br>
&gt; ------------------------------------------------------------------------------<br>
&gt; Lotusphere 2011<br>
&gt; Register now for Lotusphere 2011 and learn how<br>
&gt; to connect the dots, take your collaborative environment<br>
&gt; to the next level, and enter the era of Social Business.<br>
&gt; <a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</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" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>

<br>
<br>
<br>
------------------------------------------------------------------------------<br>
Lotusphere 2011<br>
Register now for Lotusphere 2011 and learn how<br>
to connect the dots, take your collaborative environment<br>
to the next level, and enter the era of Social Business.<br>
<a href="http://p.sf.net/sfu/lotusphere-d2d" target="_blank">http://p.sf.net/sfu/lotusphere-d2d</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>