gl: GST_GL_TYPE -> GST_TYPE_GL
authorMatthew Waters <matthew@centricular.com>
Wed, 5 Oct 2016 01:19:12 +0000 (12:19 +1100)
committerMatthew Waters <matthew@centricular.com>
Thu, 3 Nov 2016 05:16:12 +0000 (16:16 +1100)
Some deprecated symbols are kept for backwards compatibility

ext/qt/gstqtsink.cc
ext/qt/gstqtsrc.cc

index 62a5373..85d6ae3 100644 (file)
@@ -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);
index 3cfc709..83aed98 100644 (file)
@@ -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);
     }
   }