gstreamer-rs/gstreamer-utils/src
Guillaume Desmottes 7bde0285ff 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/1316>
2023-10-03 11:45:51 +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-10-03 11:45:51 +02:00