diff options
author | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-20 19:33:32 +0000 |
---|---|---|
committer | ben <ben@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-06-20 19:33:32 +0000 |
commit | 2bd0d969a66f250e35319f553068b78b0adedc5d (patch) | |
tree | f19bd2f5483e1c44bfc96ac8bbfa11b2f9894758 | |
parent | 32ddd9dd3310d1f8cc9eaadf77c637a8fec76fad (diff) |
allow conditionnal compilation of yuv4mpeg video out.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27103 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Makefile | 1 | ||||
-rwxr-xr-x | configure | 19 | ||||
-rw-r--r-- | libvo/video_out.c | 2 |
3 files changed, 21 insertions, 1 deletions
@@ -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 @@ -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 diff --git a/libvo/video_out.c b/libvo/video_out.c index 762ef7cdcb..5496eeb59a 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -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 |