From 389e386d5000d3c4447c1ee8de977185941dbe82 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 5 Oct 2016 12:19:12 +1100 Subject: [PATCH] gl: GST_GL_TYPE -> GST_TYPE_GL Some deprecated symbols are kept for backwards compatibility --- ext/qt/gstqtsink.cc | 2 +- ext/qt/gstqtsrc.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/qt/gstqtsink.cc b/ext/qt/gstqtsink.cc index 62a5373689..85d6ae3f66 100644 --- a/ext/qt/gstqtsink.cc +++ b/ext/qt/gstqtsink.cc @@ -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); diff --git a/ext/qt/gstqtsrc.cc b/ext/qt/gstqtsrc.cc index 3cfc709f18..83aed985fd 100644 --- a/ext/qt/gstqtsrc.cc +++ b/ext/qt/gstqtsrc.cc @@ -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); } }