diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-03-01 00:34:40 +0100 |
---|---|---|
committer | Mathieu Duponchelle <mathieu@centricular.com> | 2018-03-01 15:37:06 +0100 |
commit | 39d408f3d6baab34ad3baa117c6d784a1884bf0f (patch) | |
tree | c8ef4feec285e7a4419739e12f61c0ce6cf3ff4b /gst | |
parent | c2956036b8da4b8f22a63a4f5a254be03e870aa6 (diff) |
Port to latest GstAggregator segment API
The aggregator segment is now exposed on the src pad
https://bugzilla.gnome.org/show_bug.cgi?id=793946
Diffstat (limited to 'gst')
-rw-r--r-- | gst/compositor/compositor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/compositor/compositor.c b/gst/compositor/compositor.c index 2980e5c40..caa19f8e0 100644 --- a/gst/compositor/compositor.c +++ b/gst/compositor/compositor.c @@ -1233,7 +1233,8 @@ gst_compositor_class_init (GstCompositorClass * klass) GST_TYPE_COMPOSITOR_BACKGROUND, DEFAULT_BACKGROUND, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_add_static_pad_template (gstelement_class, &src_factory); + gst_element_class_add_static_pad_template_with_gtype (gstelement_class, + &src_factory, GST_TYPE_AGGREGATOR_PAD); gst_element_class_add_static_pad_template_with_gtype (gstelement_class, &sink_factory, GST_TYPE_COMPOSITOR_PAD); |