gl: GST_GL_TYPE -> GST_TYPE_GL

Some deprecated symbols are kept for backwards compatibility
This commit is contained in:
Matthew Waters 2016-10-05 12:19:12 +11:00
parent eb4c674e9d
commit c51210f2a8

View file

@ -120,7 +120,7 @@ gst_gtk_gl_sink_query (GstBaseSink * bsink, GstQuery * query)
context = gst_context_new ("gst.gl.local_context", FALSE); context = gst_context_new ("gst.gl.local_context", FALSE);
s = gst_context_writable_structure (context); s = gst_context_writable_structure (context);
gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT, gtk_sink->context, gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, gtk_sink->context,
NULL); NULL);
gst_query_set_context (query, context); gst_query_set_context (query, context);
gst_context_unref (context); gst_context_unref (context);