mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
gl: GST_GL_TYPE -> GST_TYPE_GL
Some deprecated symbols are kept for backwards compatibility
This commit is contained in:
parent
642e12ed9f
commit
389e386d50
2 changed files with 3 additions and 3 deletions
|
@ -262,7 +262,7 @@ gst_qt_sink_query (GstBaseSink * bsink, GstQuery * query)
|
|||
context = gst_context_new ("gst.gl.local_context", FALSE);
|
||||
|
||||
s = gst_context_writable_structure (context);
|
||||
gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT, qt_sink->context,
|
||||
gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, qt_sink->context,
|
||||
NULL);
|
||||
gst_query_set_context (query, context);
|
||||
gst_context_unref (context);
|
||||
|
|
|
@ -310,7 +310,7 @@ gst_qt_src_query (GstBaseSrc * bsrc, GstQuery * query)
|
|||
context = gst_context_new ("gst.gl.app_context", FALSE);
|
||||
|
||||
s = gst_context_writable_structure (context);
|
||||
gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT,
|
||||
gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT,
|
||||
qt_src->qt_context, NULL);
|
||||
gst_query_set_context (query, context);
|
||||
gst_context_unref (context);
|
||||
|
@ -348,7 +348,7 @@ _find_local_gl_context (GstQtSrc * qt_src)
|
|||
gst_query_parse_context (query, &context);
|
||||
if (context) {
|
||||
s = gst_context_get_structure (context);
|
||||
gst_structure_get (s, "context", GST_GL_TYPE_CONTEXT, &qt_src->context,
|
||||
gst_structure_get (s, "context", GST_TYPE_GL_CONTEXT, &qt_src->context,
|
||||
NULL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue