mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
playsink: unblock pads before releasing
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679823
This commit is contained in:
parent
f4bd96d899
commit
ac61fb5221
1 changed files with 3 additions and 0 deletions
|
@ -4173,12 +4173,15 @@ gst_play_sink_release_pad (GstPlaySink * playsink, GstPad * pad)
|
||||||
res = &playsink->video_pad;
|
res = &playsink->video_pad;
|
||||||
g_signal_handlers_disconnect_by_func (playsink->video_pad, caps_notify_cb,
|
g_signal_handlers_disconnect_by_func (playsink->video_pad, caps_notify_cb,
|
||||||
playsink);
|
playsink);
|
||||||
|
video_set_blocked (playsink, FALSE);
|
||||||
} else if (pad == playsink->audio_pad) {
|
} else if (pad == playsink->audio_pad) {
|
||||||
res = &playsink->audio_pad;
|
res = &playsink->audio_pad;
|
||||||
g_signal_handlers_disconnect_by_func (playsink->audio_pad, caps_notify_cb,
|
g_signal_handlers_disconnect_by_func (playsink->audio_pad, caps_notify_cb,
|
||||||
playsink);
|
playsink);
|
||||||
|
audio_set_blocked (playsink, FALSE);
|
||||||
} else if (pad == playsink->text_pad) {
|
} else if (pad == playsink->text_pad) {
|
||||||
res = &playsink->text_pad;
|
res = &playsink->text_pad;
|
||||||
|
text_set_blocked (playsink, FALSE);
|
||||||
} else {
|
} else {
|
||||||
/* try to release the given pad anyway, these could be the FLUSHING pads. */
|
/* try to release the given pad anyway, these could be the FLUSHING pads. */
|
||||||
res = &pad;
|
res = &pad;
|
||||||
|
|
Loading…
Reference in a new issue