[gst-devel] Scheduler requirements
ds at schleef.org
Sat Mar 13 15:21:08 CET 2004
On Wed, Mar 10, 2004 at 07:28:15PM +0200, Andy Wingo wrote:
> One ambiguity is when (meaning "in what state") can a pad be linked or
> unlinked. The opt scheduler allows this to occur during PLAYING, but the
> basic one only allows this during PAUSED and before. Thoughts? I'm
> leaning towards linking and unlinking in any state.
> Another ambiguity is regarding pipeline iteration: what does it mean to
> iterate a pipeline? I propose that this mean that a terminal sink in the
> pipeline (an element that does not push) process one buffer, or exit
> from the loop function if the terminal group is loop-based.
I'd prefer the definition that "no buffers are in flight". I.e., no
buffers are currently held by the scheduler in bufpens.
Relinking in PAUSED is a lot easier, since a switch to PAUSED happens
between iterations, meaning there are no buffers wedged between
More information about the gstreamer-devel