1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00
mpv/video/out
Stefano Pigozzi 0407869ae3 OSX: fix compilation with 10.7 SDK
Recent work in the OS X parts of the code started using clang's support for
Obj-C's support for Literals and Subscripting. These particular language
features remove a lot of boilerplate code and allow to interact with
collections as consicely as one would do in scripting languages like Ruby or
Python.

Even if these are compiler features, Subscripting needs some runtime support.
This is provided with libarclite (coming with the compiler), but we need to
add the proper method definitions since the 10.7 SDK headers do not include
them. That is because 10.7 shipped before this language features.

This will cause some warnings when compiling with the 10.7 SDK because the
commit also redefines BOOL to make autoboxing/unboxing of BOOL literals to
work.

If you need to test this for whatever reason on 10.8, just pass in the correct
SDK to configure's extra cflags:

  ./configure --extra-cflags='-mmacosx-version-min=10.7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk'

Fixes #117
2013-06-19 21:24:26 +02:00
..
aspect.c video: deal with 0x0 window size 2013-03-19 23:34:50 +01:00
aspect.h video: simplify aspect calculation stuff 2013-03-17 22:07:13 +01:00
bitmap_packer.c Silence some compiler warnings 2013-05-21 00:04:27 +02:00
bitmap_packer.h
cocoa_common.h cocoa_common: remove play/pause VOCTRL functions 2013-06-14 07:34:47 +02:00
cocoa_common.m OSX: fix compilation with 10.7 SDK 2013-06-19 21:24:26 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
dither.c gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c
filter_kernels.h
gl_cocoa.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_common.c gl_common: fix invalid alignment 2013-05-30 15:56:51 +02:00
gl_common.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
gl_header_fixes.h gl_header_fixes: add GL_RGBA32F 2013-03-28 22:55:56 +01:00
gl_lcms.c gl_lcms: fix compilation when lcms2 is not available 2013-03-30 03:29:54 +01:00
gl_lcms.h vo_opengl: split into multiple files, convert to new option API 2013-03-28 21:46:17 +01:00
gl_osd.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_osd.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video_shaders.glsl gl_video: explicitly clamp colormatrix output 2013-06-03 00:00:14 +02:00
gl_video.c gl_video: rearrange some code 2013-06-15 18:34:43 +02:00
gl_video.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
gl_w32.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_wayland.c wayland: introduce vo_wayland_config 2013-05-26 16:44:19 +02:00
gl_x11.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
pnm_loader.c
pnm_loader.h
vo_caca.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_corevideo.h
vo_corevideo.m video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_direct3d.c w32: use vo_w32_control() for all VOs 2013-05-26 16:44:19 +02:00
vo_image.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_lavc.c vo_lavc: remove unused variable 2013-06-18 12:22:25 +02:00
vo_null.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_opengl_old.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_opengl.c vo_opengl: remove most of the "inline" documentation 2013-05-26 17:20:01 +02:00
vo_sdl.c video/out: introduce VOCTRL_UPDATE_WINDOW_TITLE 2013-06-15 19:07:21 +02:00
vo_vdpau.c Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00
vo_x11.c Replace calls to usec_sleep() 2013-05-26 16:44:20 +02:00
vo_xv.c vo_xv: always request redraw on resize 2013-06-15 18:36:16 +02:00
vo.c vo: fix build on Libav 2013-06-15 19:23:53 +02:00
vo.h video/out: introduce VOCTRL_UPDATE_WINDOW_TITLE 2013-06-15 19:07:21 +02:00
w32_common.c video/out: introduce VOCTRL_UPDATE_WINDOW_TITLE 2013-06-15 19:07:21 +02:00
w32_common.h w32: enable screensaver when paused 2013-06-14 00:39:31 +02:00
wayland_common.c wayland: use VOCTRL_UPDATE_WINDOW_TTILE 2013-06-16 09:34:31 +02:00
wayland_common.h wayland: use VOCTRL_SET_CURSOR_VISIBILITY 2013-05-26 16:44:19 +02:00
x11_common.c video/out: introduce VOCTRL_UPDATE_WINDOW_TITLE 2013-06-15 19:07:21 +02:00
x11_common.h Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00