summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorStefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-15 10:13:18 +0200
committerStefano Pigozzi <stefano.pigozzi@gmail.com>2012-08-15 22:01:39 +0200
commit6879d1162c13a39cdfc231e7052711db0926d590 (patch)
treeeaa27790f0183dfd0ab49d0b0c09ddae2ebe7941 /configure
parent4e2fe3724b3bcd61794cf4fca88adf383f5547d4 (diff)
downloadmpv-6879d1162c13a39cdfc231e7052711db0926d590.tar.bz2
mpv-6879d1162c13a39cdfc231e7052711db0926d590.tar.xz
vo_sharedbuffer: remove this VO
Since slave mode is not planned to be kept, this VO is useless and I'm removing it. This VO was useful for OSX GUIs. Since in cocoa you can't embed views in windows from other processes, this VO was writing to a sharedbuffer with mmap. The OSX GUIs would then read from the buffer and render the image with an external renderer. If in the future we will want to support GUIs we will need to reasearch the IOSurface framework. This allows to share kernel managed image data across processes and integrates well with OpenGL.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure26
1 files changed, 0 insertions, 26 deletions
diff --git a/configure b/configure
index 4f8fefd4b9..9f2ed5828c 100755
--- a/configure
+++ b/configure
@@ -372,7 +372,6 @@ Video output:
--enable-directfb enable DirectFB video output [autodetect]
--disable-corevideo disable CoreVideo video output [autodetect]
--disable-cocoa disable Cocoa OpenGL backend [autodetect]
- --disable-sharedbuffer disable OSX shared buffer video output [autodetect]
Audio output:
--disable-alsa disable ALSA audio output [autodetect]
@@ -527,7 +526,6 @@ _qtx=auto
_coreaudio=auto
_corevideo=auto
_cocoa=auto
-_sharedbuffer=auto
quicktime=auto
_macosx_finder=no
_macosx_bundle=auto
@@ -834,8 +832,6 @@ for ac_option do
--disable-corevideo) _corevideo=no ;;
--enable-cocoa) _cocoa=yes ;;
--disable-cocoa) _cocoa=no ;;
- --enable-sharedbuffer) _sharedbuffer=yes ;;
- --disable-sharedbuffer) _sharedbuffer=no ;;
--enable-macosx-finder) _macosx_finder=yes ;;
--disable-macosx-finder) _macosx_finder=no ;;
--enable-macosx-bundle) _macosx_bundle=yes ;;
@@ -2127,26 +2123,6 @@ else
fi
echores "$_corevideo"
-echocheck "SharedBuffer"
-if test "$_sharedbuffer" = auto ; then
- cat > $TMPC <<EOF
-int main(void) {
- NSApplicationLoad();
-}
-EOF
- _sharedbuffer=no
- cc_check -framework Cocoa && _sharedbuffer=yes
-fi
-if test "$_sharedbuffer" = yes ; then
- vomodules="sharedbuffer $vomodules"
- libs_mplayer="$libs_mplayer -framework Cocoa"
- def_sharedbuffer='#define CONFIG_SHAREDBUFFER 1'
-else
- novomodules="sharedbuffer $novomodules"
- def_sharedbuffer='#undef CONFIG_SHAREDBUFFER'
-fi
-echores "$_sharedbuffer"
-
depends_on_application_services(){
test "$_corevideo" = yes
}
@@ -3872,7 +3848,6 @@ CDDB = $_cddb
COCOA = $_cocoa
COREAUDIO = $_coreaudio
COREVIDEO = $_corevideo
-SHAREDBUFFER = $_sharedbuffer
DIRECT3D = $_direct3d
DIRECTFB = $_directfb
DIRECTX = $_directx
@@ -4187,7 +4162,6 @@ $def_lcms2
$def_caca
$def_corevideo
$def_cocoa
-$def_sharedbuffer
$def_direct3d
$def_directfb
$def_directx