[gst-devel] adder with nonblocking pads

Edward Hervey bilboed at gmail.com
Mon May 4 08:25:55 CEST 2009


Hi,

  You might want to have a look at liveadder (in gst-plugins-bad), which
allows doing mixing of live streams. Instead of waiting for data to be
available on all streams, it waits up to a certain (configurable) delay
before processing data on any incoming streams.

   Edward

On Mon, 2009-05-04 at 10:13 +0530, Viraj Karandikar wrote:
> Hi,
> I want to use adder element in my system. But the adder element waits
> for buffers on all of its sink pads (for eg: sink0 sink1) , and only
> when buffers are available on all pads it goes ahead with processing
> and pushes a output buffer on source pad.
> What i would like to do is: wait till buffer is availabe on sink0,
> read buffer from sink1 only if available and do processing. that
> means, dont wait for any buffer on sink1.
> I thought of using pull mode on sink1. but i could not find any
> function to query if buffer is available on a pad.
> Does anyone has any clue how this can be done?
> 
> 
> -- 
> - Viraj
> Reality is merely an illusion, albeit a very persistent one.
> ------------------------------------------------------------------------------
> Register Now & Save for Velocity, the Web Performance & Operations 
> Conference from O'Reilly Media. Velocity features a full day of 
> expert-led, hands-on workshops and two days of sessions from industry 
> leaders in dedicated Performance & Operations tracks. Use code vel09scf 
> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
> _______________________________________________ gstreamer-devel mailing list gstreamer-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list