gstreamer-rs/gstreamer-utils/src
Guillaume Desmottes 1915957409 gst-utils: prevent dead lock when requesting key unit
Sending the UpstreamForceKeyUnitEvent using gst_element_send_event()
internally takes the state lock. If appsink is pre-rolling we are also
holding the preroll lock.

This may result in a dead lock with the thread doing the state change as
this one takes the state lock and then the pre-roll lock.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1341>
2023-11-10 09:29:52 +02:00
..
lib.rs utils: Re export AddConsumerError 2022-05-17 20:19:12 +03:00
streamproducer.rs gst-utils: prevent dead lock when requesting key unit 2023-11-10 09:29:52 +02:00