diff options
author | Matthew Waters <matthew@centricular.com> | 2015-09-28 22:20:29 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-09-28 22:24:04 +1000 |
commit | 609977a56b7f34ab6bf051a335f62d1a0f3bc616 (patch) | |
tree | 42e064c968e3ea2a91960603ecd1cec2c8846586 | |
parent | cd7f4e524718a2f75467852235e4e13d64d2ac82 (diff) | |
download | gstreamer-plugins-bad-609977a56b7f34ab6bf051a335f62d1a0f3bc616.tar.gz |
gl: chain up to the parent class for GstElement::set_context
https://bugzilla.gnome.org/show_bug.cgi?id=705579
-rw-r--r-- | ext/gl/caopengllayersink.m | 2 | ||||
-rw-r--r-- | ext/gl/gstglbasemixer.c | 2 | ||||
-rw-r--r-- | ext/gl/gstglimagesink.c | 2 | ||||
-rw-r--r-- | ext/gl/gstglstereosplit.c | 3 | ||||
-rw-r--r-- | ext/gl/gstgltestsrc.c | 2 | ||||
-rw-r--r-- | gst-libs/gst/gl/gstglbasefilter.c | 2 |
6 files changed, 13 insertions, 0 deletions
diff --git a/ext/gl/caopengllayersink.m b/ext/gl/caopengllayersink.m index 22954ffd2..506fbf52b 100644 --- a/ext/gl/caopengllayersink.m +++ b/ext/gl/caopengllayersink.m @@ -476,6 +476,8 @@ gst_ca_opengl_layer_sink_set_context (GstElement * element, GstContext * context if (ca_sink->display) gst_gl_display_filter_gl_api (ca_sink->display, SUPPORTED_GL_APIS); + + GST_ELEMENT_CLASS (parent_class)->set_context (element, context); } static GstStateChangeReturn diff --git a/ext/gl/gstglbasemixer.c b/ext/gl/gstglbasemixer.c index 3bad76955..ef9047941 100644 --- a/ext/gl/gstglbasemixer.c +++ b/ext/gl/gstglbasemixer.c @@ -320,6 +320,8 @@ gst_gl_base_mixer_set_context (GstElement * element, GstContext * context) if (mix->display) gst_gl_display_filter_gl_api (mix->display, mix_class->supported_gl_api); + + GST_ELEMENT_CLASS (parent_class)->set_context (element, context); } static gboolean diff --git a/ext/gl/gstglimagesink.c b/ext/gl/gstglimagesink.c index 7672956c4..2c3b935f9 100644 --- a/ext/gl/gstglimagesink.c +++ b/ext/gl/gstglimagesink.c @@ -914,6 +914,8 @@ gst_glimage_sink_set_context (GstElement * element, GstContext * context) if (gl_sink->display) gst_gl_display_filter_gl_api (gl_sink->display, SUPPORTED_GL_APIS); + + GST_ELEMENT_CLASS (parent_class)->set_context (element, context); } static GstStateChangeReturn diff --git a/ext/gl/gstglstereosplit.c b/ext/gl/gstglstereosplit.c index e175df893..798810725 100644 --- a/ext/gl/gstglstereosplit.c +++ b/ext/gl/gstglstereosplit.c @@ -210,6 +210,9 @@ stereosplit_set_context (GstElement * element, GstContext * context) if (stereosplit->display) gst_gl_display_filter_gl_api (stereosplit->display, SUPPORTED_GL_APIS); + + GST_ELEMENT_CLASS (gst_gl_stereosplit_parent_class)->set_context (element, + context); } static GstStateChangeReturn diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index 93ddfda40..270ed2132 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -459,6 +459,8 @@ gst_gl_test_src_set_context (GstElement * element, GstContext * context) if (src->display) gst_gl_display_filter_gl_api (src->display, SUPPORTED_GL_APIS); + + GST_ELEMENT_CLASS (parent_class)->set_context (element, context); } static gboolean diff --git a/gst-libs/gst/gl/gstglbasefilter.c b/gst-libs/gst/gl/gstglbasefilter.c index 485fe2ac6..c5d330ebf 100644 --- a/gst-libs/gst/gl/gstglbasefilter.c +++ b/gst-libs/gst/gl/gstglbasefilter.c @@ -150,6 +150,8 @@ gst_gl_base_filter_set_context (GstElement * element, GstContext * context) if (filter->display) gst_gl_display_filter_gl_api (filter->display, filter_class->supported_gl_api); + + GST_ELEMENT_CLASS (parent_class)->set_context (element, context); } static gboolean |