mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
aggregator: Caps event always goes to the aggregate thread
So no need to check it here. https://bugzilla.gnome.org/show_bug.cgi?id=782918
This commit is contained in:
parent
d6e46b905a
commit
a463859eba
1 changed files with 1 additions and 3 deletions
|
@ -2606,12 +2606,10 @@ gst_aggregator_pad_event_func (GstPad * pad, GstObject * parent,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event) {
|
if (event) {
|
||||||
gboolean is_caps = (GST_EVENT_TYPE (event) == GST_EVENT_CAPS);
|
|
||||||
|
|
||||||
if (!klass->sink_event (self, aggpad, event)) {
|
if (!klass->sink_event (self, aggpad, event)) {
|
||||||
/* Copied from GstPad to convert boolean to a GstFlowReturn in
|
/* Copied from GstPad to convert boolean to a GstFlowReturn in
|
||||||
* the event handling func */
|
* the event handling func */
|
||||||
ret = is_caps ? GST_FLOW_NOT_NEGOTIATED : GST_FLOW_ERROR;
|
ret = GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue