glsyncmeta: add compat definition for gles2

This commit is contained in:
Matthew Waters 2015-02-24 20:34:35 +11:00
parent e36c27cd46
commit 21e95ef9fd

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)