playbin3: fix unlocking twice

fix unlocking playbin3 lock twice.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8570>
This commit is contained in:
Dongyun Seo 2025-02-28 14:24:09 +09:00 committed by GStreamer Marge Bot
parent e778791b90
commit c206ddd930

View file

@ -2115,6 +2115,7 @@ combiner_active_pad_changed (GObject * combiner, GParamSpec * pspec,
GST_PLAY_BIN3_UNLOCK (playbin);
gst_play_bin3_send_custom_event (GST_OBJECT (combiner),
"playsink-custom-video-flush-finish");
return;
}
break;
case GST_STREAM_TYPE_AUDIO:
@ -2125,6 +2126,7 @@ combiner_active_pad_changed (GObject * combiner, GParamSpec * pspec,
GST_PLAY_BIN3_UNLOCK (playbin);
gst_play_bin3_send_custom_event (GST_OBJECT (combiner),
"playsink-custom-audio-flush-finish");
return;
}
break;
case GST_STREAM_TYPE_TEXT:
@ -2135,6 +2137,7 @@ combiner_active_pad_changed (GObject * combiner, GParamSpec * pspec,
GST_PLAY_BIN3_UNLOCK (playbin);
gst_play_bin3_send_custom_event (GST_OBJECT (combiner),
"playsink-custom-subtitle-flush-finish");
return;
}
break;
default: