mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 17:50:36 +00:00
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:
parent
7847e69ef8
commit
f1aba33090
1 changed files with 10 additions and 8 deletions
|
@ -2739,14 +2739,16 @@ gst_aggregator_pad_constructed (GObject * object)
|
|||
{
|
||||
GstPad *pad = GST_PAD (object);
|
||||
|
||||
gst_pad_set_chain_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_chain));
|
||||
gst_pad_set_event_full_function_full (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_event_func), NULL, NULL);
|
||||
gst_pad_set_query_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_query_func));
|
||||
gst_pad_set_activatemode_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_activate_mode_func));
|
||||
if (GST_PAD_IS_SINK (pad)) {
|
||||
gst_pad_set_chain_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_chain));
|
||||
gst_pad_set_event_full_function_full (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_event_func), NULL, NULL);
|
||||
gst_pad_set_query_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_query_func));
|
||||
gst_pad_set_activatemode_function (pad,
|
||||
GST_DEBUG_FUNCPTR (gst_aggregator_pad_activate_mode_func));
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue