glsyncmeta: add compat definition for gles2

This commit is contained in:
Matthew Waters 2015-02-24 20:34:35 +11:00 committed by Tim-Philipp Müller
parent e5708eb453
commit 5acb75cdf4

View file

@ -31,10 +31,12 @@ GST_DEBUG_CATEGORY (GST_CAT_DEFAULT);
#ifndef GL_SYNC_GPU_COMMANDS_COMPLETE
#define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
#endif
#ifndef GL_SYNC_FLUSH_COMMANDS_BIT
#define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
#endif
#ifndef GL_TIMEOUT_EXPIRED
#define GL_TIMEOUT_EXPIRED 0x911B
#endif
GstGLSyncMeta *
gst_buffer_add_gl_sync_meta (GstGLContext * context, GstBuffer * buffer)