From 04d5db14be3c3193c03966e1a337ffbd2bdf06c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 28 Dec 2015 15:53:59 +0200 Subject: [PATCH] gl: Add \0 terminators for the Apple sync extension Otherwise GL initialization might check for extensions forever and never finishes. --- gst-libs/gst/gl/glprototypes/sync.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/glprototypes/sync.h b/gst-libs/gst/gl/glprototypes/sync.h index d2fa99d5a9..212334405a 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))