gl: chain up to the parent class for GstElement::set_context

https://bugzilla.gnome.org/show_bug.cgi?id=705579
This commit is contained in:
Matthew Waters 2015-09-28 22:20:29 +10:00 committed by Tim-Philipp Müller
parent bf98930546
commit 8187171908
6 changed files with 13 additions and 0 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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