GstCollectPads-related freeze in pads mgmt
Andrey Utkin
andrey.krieger.utkin at gmail.com
Fri Jan 3 09:41:41 PST 2014
2014/1/3 Sebastian Dröge <sebastian at centricular.com>:
> There are no plans for simplifying this currently, simply because nobody
> knows how to simplify it. If you have any suggestions please write them
> down :)
The only suggestion i can give is to declare strong guarantees on the
simplest API calls.
For example, let gst_element_release_pad(), gst_pad_unlink(),
gst_element_unlink() guarantee that no state corruption or deadlock is
possible, from whatever thread is it called. I think this is more
possible to implement using recursive mutexes, which seem to be not
used in gstreamer currently.
Revising functionality guarantees requires revising all the code, but
i think it is worthwhile.
--
Andrey Utkin
More information about the gstreamer-devel
mailing list