diff options
author | Matthew Waters <matthew@centricular.com> | 2016-10-05 12:19:12 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-11-03 16:16:12 +1100 |
commit | 41a6448918edeae911e3e0cbcb43f20b7de24877 (patch) | |
tree | 8b5f195325294d28bcb11c1e05a1e4f595f06061 /tests | |
parent | 0dc003bf30b0b5a85604646b5343bb52e3b0a4e2 (diff) | |
download | gstreamer-plugins-bad-41a6448918edeae911e3e0cbcb43f20b7de24877.tar.gz |
gl: GST_GL_TYPE -> GST_TYPE_GL
Some deprecated symbols are kept for backwards compatibility
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examples/gl/qt/qglwtextureshare/pipeline.cpp | 2 | ||||
-rw-r--r-- | tests/examples/gl/sdl/sdlshare.c | 2 | ||||
-rw-r--r-- | tests/examples/gl/sdl/sdlshare2.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/examples/gl/qt/qglwtextureshare/pipeline.cpp b/tests/examples/gl/qt/qglwtextureshare/pipeline.cpp index 9a8d583d4..1cff8a4f6 100644 --- a/tests/examples/gl/qt/qglwtextureshare/pipeline.cpp +++ b/tests/examples/gl/qt/qglwtextureshare/pipeline.cpp @@ -218,7 +218,7 @@ gboolean Pipeline::sync_bus_call (GstBus * bus, GstMessage * msg, Pipeline * p) } else if (g_strcmp0 (context_type, "gst.gl.app_context") == 0) { GstContext *app_context = gst_context_new ("gst.gl.app_context", TRUE); GstStructure *s = gst_context_writable_structure (app_context); - gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT, p->context, NULL); + gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, p->context, NULL); gst_element_set_context (GST_ELEMENT (msg->src), app_context); } break; diff --git a/tests/examples/gl/sdl/sdlshare.c b/tests/examples/gl/sdl/sdlshare.c index 40f0af6e7..4cbac2615 100644 --- a/tests/examples/gl/sdl/sdlshare.c +++ b/tests/examples/gl/sdl/sdlshare.c @@ -251,7 +251,7 @@ sync_bus_call (GstBus * bus, GstMessage * msg, gpointer data) } else if (g_strcmp0 (context_type, "gst.gl.app_context") == 0) { GstContext *app_context = gst_context_new ("gst.gl.app_context", TRUE); GstStructure *s = gst_context_writable_structure (app_context); - gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT, sdl_context, + gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, sdl_context, NULL); gst_element_set_context (GST_ELEMENT (msg->src), app_context); return TRUE; diff --git a/tests/examples/gl/sdl/sdlshare2.c b/tests/examples/gl/sdl/sdlshare2.c index ce5792ab3..b616a8797 100644 --- a/tests/examples/gl/sdl/sdlshare2.c +++ b/tests/examples/gl/sdl/sdlshare2.c @@ -251,7 +251,7 @@ sync_bus_call (GstBus * bus, GstMessage * msg, gpointer data) } else if (g_strcmp0 (context_type, "gst.gl.app_context") == 0) { GstContext *app_context = gst_context_new ("gst.gl.app_context", TRUE); GstStructure *s = gst_context_writable_structure (app_context); - gst_structure_set (s, "context", GST_GL_TYPE_CONTEXT, sdl_context, + gst_structure_set (s, "context", GST_TYPE_GL_CONTEXT, sdl_context, NULL); gst_element_set_context (GST_ELEMENT (msg->src), app_context); return TRUE; |