Mercurial > mplayer.hg
diff libvo/vo_corevideo.m @ 36807:072f64f1eec3
corevideo: include OpenGL/gl.h, this is required from 10.9
Including gl_common would be nicer, but would make vo_corevideo
depend on vo_gl, which seems a bit overkill.
Patch by Jiang Jiang [gzjjgod gmail].
author | reimar |
---|---|
date | Sun, 23 Feb 2014 13:06:57 +0000 |
parents | db6d34cfbd34 |
children |
line wrap: on
line diff
--- a/libvo/vo_corevideo.m Sun Feb 23 12:25:28 2014 +0000 +++ b/libvo/vo_corevideo.m Sun Feb 23 13:06:57 2014 +0000 @@ -25,6 +25,7 @@ #include <sys/mman.h> #include <unistd.h> #include <CoreServices/CoreServices.h> +#include <OpenGL/gl.h> //special workaround for Apple bug #6267445 //(OSServices Power API disabled in OSServices.h for 64bit systems) #ifndef __POWER__