I need to read buffers from pads on request

Santiago Olivera solivera at migmasys.com
Tue Sep 17 06:00:42 PDT 2013


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.

Santiago


On Tue, Sep 17, 2013 at 5:47 AM, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> On Mon, 2013-09-16 at 17:37 -0400, Santiago Olivera wrote:
>
> Hi,
>
> > Hi, I am trying to set up a plugin that can have up to 10 sink pads.
> > It should be very simple: Get a buffer from each pad, compare them,
> > and pick one of them to push. But still have not figured out how to
> > deal with the pads on request.
> >
> >
> > I was trying to follow the ideas on gstaggregator I found online but
> > seems to be not valid anymore. It would be nice to have an example.
>
> That's basically what most muxers do. Wait for a buffer on all pads, and
> then pick one after comparing them all.
>
> Have a look at the GstCollectPads helper object, and a muxer of your
> choice (oggmux, qtmux, whatever).
>
> Cheers
>  -Tim
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130917/3568a507/attachment-0001.html>


More information about the gstreamer-devel mailing list