Mercurial > mplayer.hg
changeset 26974:7042def3416f
Drop support for external libvidix (unmaintained and not up-to-date)
author | ben |
---|---|
date | Sat, 07 Jun 2008 10:54:07 +0000 |
parents | 2b6d87a07612 |
children | 553265fda2a6 |
files | configure libvo/vosub_vidix.c |
diffstat | 2 files changed, 9 insertions(+), 36 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Jun 07 10:30:49 2008 +0000 +++ b/configure Sat Jun 07 10:54:07 2008 +0000 @@ -339,8 +339,7 @@ --enable-muxer=MUXER enable specified FFmpeg muxer Video output: - --disable-vidix-internal disable internal VIDIX [for x86 *nix] - --disable-vidix-external disable external VIDIX [for x86 *nix] + --disable-vidix disable VIDIX [for x86 *nix] --with-vidix-drivers[=*] list of VIDIX drivers to be compiled in Available: cyberblade,ivtv,mach64,mga,mga_crtc2, nvidia,pm2,pm3,radeon,rage128,s3,sis,unichrome @@ -619,8 +618,7 @@ _network=yes _winsock2=auto _smbsupport=auto -_vidix_internal=auto -_vidix_external=auto +_vidix=auto _vidix_pcidb=yes _joystick=no _xvid=auto @@ -1016,10 +1014,8 @@ --disable-winsock2) _winsock2=no ;; --enable-smb) _smbsupport=yes ;; --disable-smb) _smbsupport=no ;; - --enable-vidix-internal) _vidix_internal=yes ;; - --disable-vidix-internal) _vidix_internal=no ;; - --enable-vidix-external) _vidix_external=yes ;; - --disable-vidix-external) _vidix_external=no ;; + --enable-vidix) _vidix=yes ;; + --disable-vidix) _vidix=no ;; --with-vidix-drivers=*) _vidix_drivers=`echo $ac_option | cut -d '=' -f 2` ;; @@ -4193,7 +4189,6 @@ echocheck "VIDIX" -_vidix=no _def_vidix='#undef CONFIG_VIDIX' _def_vidix_drv_cyberblade='#undef CONFIG_VIDIX_DRV_CYBERBLADE' _vidix_drv_cyberblade=no @@ -4223,24 +4218,11 @@ _vidix_drv_sis=no _def_vidix_drv_unichrome='#undef CONFIG_VIDIX_DRV_UNICHROME' _vidix_drv_unichrome=no -if test "$_vidix_internal" = auto ; then - _vidix_internal=no +if test "$_vidix" = auto ; then + _vidix=no x86 && (linux || freebsd || netbsd || openbsd || dragonfly || sunos || win32) \ - && _vidix_internal=yes - (ppc || alpha) && linux && _vidix_internal=yes -fi -if test "$_vidix_internal" = yes; then - _res_comment="internal" - _vidix_external=no - _vidix=yes -elif test "$_vidix_external" = auto; then - _vidix_external=no - cat > $TMPC <<EOF -#include <vidix/vidix.h> -int main(void) { return 0; } -EOF - cc_check -lvidix && _vidix_external=yes && _res_comment="external" \ - && _vidix=yes + && _vidix=yes + (ppc || alpha) && linux && _vidix=yes fi echores "$_vidix" @@ -4263,13 +4245,6 @@ _novomodules="cvidix $_novomodules" fi -if test "$_vidix_internal" = yes ; then - _def_vidix_pfx="#define MP_VIDIX_PFX \"$_libdir\" \"/mplayer/vidix/\" " -elif test "$_vidix_external" = yes ; then - _libs_mplayer="$_libs_mplayer -lvidix" - _def_vidix_pfx='#define MP_VIDIX_PFX "" ' -fi - if test "$_vidix" = yes && win32; then _vosrc="$_vosrc vo_winvidix.c" _vomodules="winvidix $_vomodules" @@ -7729,8 +7704,6 @@ UNRAR_EXEC = $_unrar_exec VCD = $_vcd VIDIX = $_vidix -VIDIX_EXTERNAL = $_vidix_external -VIDIX_INTERNAL = $_vidix_internal VIDIX_PCIDB = $_vidix_pcidb_val VIDIX_CYBERBLADE=$_vidix_drv_cyberblade VIDIX_IVTV=$_vidix_drv_ivtv
--- a/libvo/vosub_vidix.c Sat Jun 07 10:30:49 2008 +0000 +++ b/libvo/vosub_vidix.c Sat Jun 07 10:54:07 2008 +0000 @@ -645,7 +645,7 @@ return -1; } #ifndef __MINGW32__ - vidix_handler = vdlOpen(MP_VIDIX_PFX, + vidix_handler = vdlOpen(NULL, drvname ? drvname[0] == ':' ? &drvname[1] : drvname[0] ? drvname : NULL : NULL, TYPE_OUTPUT, verbose);