mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-03 10:21:11 +00:00
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:
parent
e778791b90
commit
c206ddd930
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue