allow conditionnal compilation of yuv4mpeg video out.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27103 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2008-06-20 19:33:32 +00:00
parent 32ddd9dd33
commit 2bd0d969a6
3 changed files with 21 additions and 1 deletions

View File

@ -521,7 +521,6 @@ SRCS_MPLAYER = mplayer.c \
libvo/video_out.c \
libvo/vo_mpegpes.c \
libvo/vo_null.c \
libvo/vo_yuv4mpeg.c \
$(addprefix libvo/,$(VO_SRCS)) \
SRCS_MPLAYER-$(APPLE_IR) += input/appleir.c

19
configure vendored
View File

@ -385,6 +385,7 @@ Video output:
--disable-tga disable Targa video output [enable]
--disable-pnm disable PNM video output [enable]
--disable-md5sum disable md5sum video output [enable]
--disable-yuv4mpeg disable md5sum video output [enable]
Audio output:
--disable-alsa disable ALSA audio output [autodetect]
@ -533,6 +534,7 @@ _png=auto
_jpeg=auto
_pnm=yes
_md5sum=yes
_yuv4mpeg=yes
_gif=auto
_gl=auto
_ggi=auto
@ -852,6 +854,8 @@ for ac_option do
--disable-pnm) _pnm=no ;;
--enable-md5sum) _md5sum=yes ;;
--disable-md5sum) _md5sum=no ;;
--enable-yuv4mpeg) _yuv4mpeg=yes ;;
--disable-yuv4mpeg) _yuv4mpeg=no ;;
--enable-gif) _gif=yes ;;
--disable-gif) _gif=no ;;
--enable-gl) _gl=yes ;;
@ -3779,6 +3783,18 @@ fi
echores "$_md5sum"
echocheck "yuv4mpeg support"
if test "$_yuv4mpeg" = yes; then
_def_yuv4mpeg="#define HAVE_YUV4MPEG"
_vosrc="$_vosrc vo_yuv4mpeg.c"
_vomodules="yuv4mpeg $_vomodules"
else
_def_yuv4mpeg="#undef HAVE_YUV4MPEG"
_novomodules="yuv4mpeg $_novomodules"
fi
echores "$_yuv4mpeg"
echocheck "bl"
if test "$_bl" = yes ; then
_def_bl='#define HAVE_BL 1'
@ -8369,6 +8385,9 @@ $_def_pnm
/* enable md5sum support */
$_def_md5sum
/* enable yuv4mpeg support */
$_def_yuv4mpeg
/* enable GIF support */
$_def_gif
$_def_gif_4

View File

@ -221,7 +221,9 @@ const vo_functions_t* const video_out_drivers[] =
&video_out_xvmc,
#endif
&video_out_mpegpes,
#ifdef HAVE_YUV4MPEG
&video_out_yuv4mpeg,
#endif
#ifdef HAVE_PNG
&video_out_png,
#endif