[gst-devel] Re: opt is broken

Andy Wingo wingo at pobox.com
Sun Mar 7 06:42:14 CET 2004


On Wed, 2004-03-03 at 01:22, Ronald Bultje wrote:
> On Tue, 2 Mar 2004, Benjamin Otte wrote:
> > who's still afraid of looking at opt ;)
> 
> Aren't we all?

It's not that bad, really. A group is a set of elements through which
data can be passed without switching cothreads. A chain is a set of
groups that are connected in some way. Each loop element must have its
own group, but get and chain pads can be processed just by calling the
functions (without the help of the scheduler). For an iteration, the
scheduler picks the first non-disabled group in each chain and schedules
it. (Usually there's just one chain.) For cothread scheds, that means to
switch to that group's cothread. For non-cothread scheds, that means to
add the group onto a runque and run the queue later.

All the rest is just to enforce to invariants, basically.

> Are you sure the crash is opt-specific?

It was. And it's fixed now, properly.
-- 
Andy Wingo <wingo at pobox.com>




More information about the gstreamer-devel mailing list