mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
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:
parent
bf98930546
commit
8187171908
6 changed files with 13 additions and 0 deletions
|
@ -476,6 +476,8 @@ gst_ca_opengl_layer_sink_set_context (GstElement * element, GstContext * context
|
||||||
|
|
||||||
if (ca_sink->display)
|
if (ca_sink->display)
|
||||||
gst_gl_display_filter_gl_api (ca_sink->display, SUPPORTED_GL_APIS);
|
gst_gl_display_filter_gl_api (ca_sink->display, SUPPORTED_GL_APIS);
|
||||||
|
|
||||||
|
GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstStateChangeReturn
|
static GstStateChangeReturn
|
||||||
|
|
|
@ -320,6 +320,8 @@ gst_gl_base_mixer_set_context (GstElement * element, GstContext * context)
|
||||||
|
|
||||||
if (mix->display)
|
if (mix->display)
|
||||||
gst_gl_display_filter_gl_api (mix->display, mix_class->supported_gl_api);
|
gst_gl_display_filter_gl_api (mix->display, mix_class->supported_gl_api);
|
||||||
|
|
||||||
|
GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -914,6 +914,8 @@ gst_glimage_sink_set_context (GstElement * element, GstContext * context)
|
||||||
|
|
||||||
if (gl_sink->display)
|
if (gl_sink->display)
|
||||||
gst_gl_display_filter_gl_api (gl_sink->display, SUPPORTED_GL_APIS);
|
gst_gl_display_filter_gl_api (gl_sink->display, SUPPORTED_GL_APIS);
|
||||||
|
|
||||||
|
GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstStateChangeReturn
|
static GstStateChangeReturn
|
||||||
|
|
|
@ -210,6 +210,9 @@ stereosplit_set_context (GstElement * element, GstContext * context)
|
||||||
|
|
||||||
if (stereosplit->display)
|
if (stereosplit->display)
|
||||||
gst_gl_display_filter_gl_api (stereosplit->display, SUPPORTED_GL_APIS);
|
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
|
static GstStateChangeReturn
|
||||||
|
|
|
@ -459,6 +459,8 @@ gst_gl_test_src_set_context (GstElement * element, GstContext * context)
|
||||||
|
|
||||||
if (src->display)
|
if (src->display)
|
||||||
gst_gl_display_filter_gl_api (src->display, SUPPORTED_GL_APIS);
|
gst_gl_display_filter_gl_api (src->display, SUPPORTED_GL_APIS);
|
||||||
|
|
||||||
|
GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
|
@ -150,6 +150,8 @@ gst_gl_base_filter_set_context (GstElement * element, GstContext * context)
|
||||||
if (filter->display)
|
if (filter->display)
|
||||||
gst_gl_display_filter_gl_api (filter->display,
|
gst_gl_display_filter_gl_api (filter->display,
|
||||||
filter_class->supported_gl_api);
|
filter_class->supported_gl_api);
|
||||||
|
|
||||||
|
GST_ELEMENT_CLASS (parent_class)->set_context (element, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
static gboolean
|
static gboolean
|
||||||
|
|
Loading…
Reference in a new issue