[gst-devel] dataflow synchronization

Benoit Fouet benoit.fouet at purplelabs.com
Thu Apr 27 09:40:09 CEST 2006


Hi,

I've read Gstreamer documentation (i.e. Application Development Manual
and Plugin Writer's Guide) and one point remains obscure to me.
I can't figure out how data is synchronized over the pipeline.

e.g. when having a pipeline as simple as an audio file source, a decoder
and an audio plugin, the source is able to provide data much more
quickly than the decoder can work, itself more quickly than the audio
sink is able to flush data on driver.

though, my question is: what is the event that allows an element to
provide data over its source pad ?
is it that gst_pad_push is called in the same thread, and is by the way
blocking the upstream element, or are there other synchronization methods ?

Thanks,
Ben





More information about the gstreamer-devel mailing list