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 /ext/gl/gstglmixer.c | |
parent | c2956036b8da4b8f22a63a4f5a254be03e870aa6 (diff) | |
download | gstreamer-plugins-bad-39d408f3d6baab34ad3baa117c6d784a1884bf0f.tar.gz |
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 'ext/gl/gstglmixer.c')
-rw-r--r-- | ext/gl/gstglmixer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/gl/gstglmixer.c b/ext/gl/gstglmixer.c index 856a433f9..2ea099ee0 100644 --- a/ext/gl/gstglmixer.c +++ b/ext/gl/gstglmixer.c @@ -364,7 +364,8 @@ gst_gl_mixer_class_init (GstGLMixerClass * klass) gobject_class->get_property = gst_gl_mixer_get_property; gobject_class->set_property = gst_gl_mixer_set_property; - gst_element_class_add_static_pad_template (element_class, &src_factory); + gst_element_class_add_static_pad_template_with_gtype (element_class, + &src_factory, GST_TYPE_AGGREGATOR_PAD); gst_element_class_add_static_pad_template_with_gtype (element_class, &sink_factory, GST_TYPE_GL_MIXER_PAD); |