mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +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
e76c35857d
commit
0e973bc4fc
1 changed files with 1 additions and 3 deletions
|
@ -2606,12 +2606,10 @@ gst_aggregator_pad_event_func (GstPad * pad, GstObject * parent,
|
|||
}
|
||||
|
||||
if (event) {
|
||||
gboolean is_caps = (GST_EVENT_TYPE (event) == GST_EVENT_CAPS);
|
||||
|
||||
if (!klass->sink_event (self, aggpad, event)) {
|
||||
/* Copied from GstPad to convert boolean to a GstFlowReturn in
|
||||
* the event handling func */
|
||||
ret = is_caps ? GST_FLOW_NOT_NEGOTIATED : GST_FLOW_ERROR;
|
||||
ret = GST_FLOW_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue