Commit 6aa3b256 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵

playsink: Don't send another step event to the audio-sink if we got step-done from there

Otherwise we would end up with a deadlock as the audio-sink emits step-done
from its streaming thread.
parent 4348df8e
......@@ -4633,7 +4633,9 @@ gst_play_sink_handle_message (GstBin * bin, GstMessage * message)
if (format == GST_FORMAT_BUFFERS) {
/* for the buffer format, we align the other streams */
if (playsink->audiochain) {
if (playsink->audiochain
&& !gst_object_has_as_ancestor (GST_MESSAGE_SRC (message),
GST_OBJECT (playsink->audiochain->chain.bin))) {
GstEvent *event;
event =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment