Skip to content

waylandsink: add unlock and unlock_stop functions

Kristofer requested to merge Bjorkstrom/gstreamer:master into main

To avoid mutex starvation for eg. the thread doing a state change on the sink element, we need to use the unlock functionality. When unlock the render thread will be forced to let go of the preroll lock and the thread doing the state change will not starve by the preroll mutex.

Merge request reports