aggregator: allow src GstAggregatorPads

See https://bugzilla.gnome.org/show_bug.cgi?id=793917

https://bugzilla.gnome.org/show_bug.cgi?id=793934
This commit is contained in:
Mathieu Duponchelle 2018-02-28 19:53:42 +01:00
parent 7847e69ef8
commit f1aba33090

View file

@ -2739,6 +2739,7 @@ gst_aggregator_pad_constructed (GObject * object)
{ {
GstPad *pad = GST_PAD (object); GstPad *pad = GST_PAD (object);
if (GST_PAD_IS_SINK (pad)) {
gst_pad_set_chain_function (pad, gst_pad_set_chain_function (pad,
GST_DEBUG_FUNCPTR (gst_aggregator_pad_chain)); GST_DEBUG_FUNCPTR (gst_aggregator_pad_chain));
gst_pad_set_event_full_function_full (pad, gst_pad_set_event_full_function_full (pad,
@ -2747,6 +2748,7 @@ gst_aggregator_pad_constructed (GObject * object)
GST_DEBUG_FUNCPTR (gst_aggregator_pad_query_func)); GST_DEBUG_FUNCPTR (gst_aggregator_pad_query_func));
gst_pad_set_activatemode_function (pad, gst_pad_set_activatemode_function (pad,
GST_DEBUG_FUNCPTR (gst_aggregator_pad_activate_mode_func)); GST_DEBUG_FUNCPTR (gst_aggregator_pad_activate_mode_func));
}
} }
static void static void