<div dir="ltr"><div>Yes, I saw that. But I read somewhere that CollectPads will give me the buffer with the most recent timeStamp and that if I wanted something different I should do it myself. But I will check it out again. Thanks a lot for your help.<br>
<br></div>Santiago<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Sep 17, 2013 at 5:47 AM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, 2013-09-16 at 17:37 -0400, Santiago Olivera wrote:<br>
<br>
Hi,<br>
<div><div class="h5"><br>
> Hi, I am trying to set up a plugin that can have up to 10 sink pads.<br>
> It should be very simple: Get a buffer from each pad, compare them,<br>
> and pick one of them to push. But still have not figured out how to<br>
> deal with the pads on request.<br>
><br>
><br>
> I was trying to follow the ideas on gstaggregator I found online but<br>
> seems to be not valid anymore. It would be nice to have an example.<br>
<br>
</div></div>That's basically what most muxers do. Wait for a buffer on all pads, and<br>
then pick one after comparing them all.<br>
<br>
Have a look at the GstCollectPads helper object, and a muxer of your<br>
choice (oggmux, qtmux, whatever).<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>