[gst-devel] linking elements

Andy Wingo wingo at pobox.com
Wed Apr 20 09:02:31 CEST 2005


Hi Tristan,

On Wed, 2005-04-20 at 12:38 -0400, Tristan Van Berkom wrote:
> I'm not so clear on why a buffer-frames-convert element is
> nescisary

Elements with multiple inputs should pull the same amount of data from
each pad. That's why buffer-frames is there, as a 'contract' that each
pull gives that many frames, and if there are less it means an event
happened.

There is the special case buffer-frames=0, which means the element
doesn't care. This is typically the case for single-in, single-out
elements like audioconvert. Ladspa in general does care, though, so it
has to have a nonzero buffer-frames.

Ciao,
-- 
Andy Wingo
http://wingolog.org/





More information about the gstreamer-devel mailing list