mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +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;
|
||||
g_signal_handlers_disconnect_by_func (playsink->video_pad, caps_notify_cb,
|
||||
playsink);
|
||||
video_set_blocked (playsink, FALSE);
|
||||
} else if (pad == playsink->audio_pad) {
|
||||
res = &playsink->audio_pad;
|
||||
g_signal_handlers_disconnect_by_func (playsink->audio_pad, caps_notify_cb,
|
||||
playsink);
|
||||
audio_set_blocked (playsink, FALSE);
|
||||
} else if (pad == playsink->text_pad) {
|
||||
res = &playsink->text_pad;
|
||||
text_set_blocked (playsink, FALSE);
|
||||
} else {
|
||||
/* try to release the given pad anyway, these could be the FLUSHING pads. */
|
||||
res = &pad;
|
||||
|
|
Loading…
Reference in a new issue