mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
concat: when releasing pad, send EOS appropriately.
Previously, concat sent an EOS if there was a next pad. https://bugzilla.gnome.org/show_bug.cgi?id=751107
This commit is contained in:
parent
c50e47343a
commit
056283ff85
1 changed files with 1 additions and 1 deletions
|
@ -354,7 +354,7 @@ gst_concat_release_pad (GstElement * element, GstPad * pad)
|
||||||
|
|
||||||
g_mutex_lock (&self->lock);
|
g_mutex_lock (&self->lock);
|
||||||
if (self->current_sinkpad == GST_PAD_CAST (spad)) {
|
if (self->current_sinkpad == GST_PAD_CAST (spad)) {
|
||||||
eos = ! !gst_concat_switch_pad (self);
|
eos = !gst_concat_switch_pad (self);
|
||||||
current_pad_removed = TRUE;
|
current_pad_removed = TRUE;
|
||||||
do_notify = TRUE;
|
do_notify = TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue