[gst-devel] Scheduler requirements

Benjamin Otte in7y118 at public.uni-hamburg.de
Mon Mar 29 05:00:20 CEST 2004


> Unfortunately, there's no way to allow the elements to clean up when the
> cothread is reset unless you allow registration of cleanup actions
> (gst_element_register_cleanup_action (e, proc, data)), and make a policy
> regarding data allocation in general (e.g. elements must provide for any
> necessary cleanup if the pipeline changes while you call gst_pad_push or
> gst_pad_pull).
>
> Make any sense?
>
Makes sense, but looks hellishly ugly - especially because you need to
write cleanup functions for every existing element.
I think it would be much better to follow David's approach and fix the
elements to a simpler model if we need to touch each element anyway.

Benjamin





More information about the gstreamer-devel mailing list