diff options
author | Julien Isorce <julien.isorce@collabora.co.uk> | 2014-04-28 15:15:20 +0100 |
---|---|---|
committer | Julien Isorce <julien.isorce@collabora.co.uk> | 2014-04-28 15:59:06 +0100 |
commit | 1525fa8bad00861bc1c20260d99fce9a3c28f5eb (patch) | |
tree | 6829489cb80985e66099e9ccfb439f8be2d42053 /ext | |
parent | 6a18a1346b65065c0c7236403292c629e8dcd05b (diff) | |
download | gstreamer-plugins-bad-1525fa8bad00861bc1c20260d99fce9a3c28f5eb.tar.gz |
gl: use gst_gl_platform_from_string because we support gl shareList on all platforms
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gl/gstgltestsrc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/gl/gstgltestsrc.c b/ext/gl/gstgltestsrc.c index 4fb30647e..b7b2792a8 100644 --- a/ext/gl/gstgltestsrc.c +++ b/ext/gl/gstgltestsrc.c @@ -645,9 +645,7 @@ gst_gl_test_src_decide_allocation (GstBaseSrc * basesrc, GstQuery * query) GST_DEBUG ("got GL context handle 0x%p with type %s and apis %s", handle, type, apis); - if (g_strcmp0 (type, "glx") == 0) - platform = GST_GL_PLATFORM_GLX; - + platform = gst_gl_platform_from_string (type); gl_apis = gst_gl_api_from_string (apis); if (gl_apis && platform) |