summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-12-28 15:53:59 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-12-28 15:55:53 +0200
commit0e2316849800f0640aed318e2b31a5ff55617b0d (patch)
tree598a8ac5b0705f18ad78fbd49eaeec7e535b322c
parent5a77d263142b2bce92f5a45a5d7db730ed1200a8 (diff)
downloadgstreamer-plugins-bad-0e2316849800f0640aed318e2b31a5ff55617b0d.tar.gz
gl: Add \0 terminators for the Apple sync extension
Otherwise GL initialization might check for extensions forever and never finishes.
-rw-r--r--gst-libs/gst/gl/glprototypes/sync.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/gl/glprototypes/sync.h b/gst-libs/gst/gl/glprototypes/sync.h
index d2fa99d5a..212334405 100644
--- a/gst-libs/gst/gl/glprototypes/sync.h
+++ b/gst-libs/gst/gl/glprototypes/sync.h
@@ -22,8 +22,8 @@ GST_GL_EXT_BEGIN (sync,
GST_GL_API_OPENGL3,
3, 2,
3, 0,
- "APPLE",
- "sync")
+ "APPLE\0",
+ "sync\0")
GST_GL_EXT_FUNCTION (GLsync, FenceSync,
(GLenum condition,
GLbitfield flags))