diff -Naur MPlayer-20031011/cfg-common.h MPlayer-20031010-new/cfg-common.h --- MPlayer-20031011/cfg-common.h 2003-09-06 02:23:44.000000000 +0200 +++ MPlayer-20031010-new/cfg-common.h 2003-10-11 09:54:57.000000000 +0200 @@ -166,7 +166,7 @@ {"oldpp", "MPlayer was compiled without opendivx library\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, #endif {"npp", "-npp has been removed, use -vop pp and read the fine manual\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, -#ifdef USE_LIBAVCODEC +#ifdef FF_POSTPROCESS {"pphelp", &pp_help, CONF_TYPE_PRINT_INDIRECT, CONF_NOCFG, 0, 0, NULL}, #endif diff -Naur MPlayer-20031011/configure MPlayer-20031010-new/configure --- MPlayer-20031011/configure 2003-10-06 09:21:01.000000000 +0200 +++ MPlayer-20031010-new/configure 2003-10-11 10:06:53.000000000 +0200 @@ -3279,6 +3279,7 @@ if test "$_dvb" = yes || test "$_dvbhead" = yes ; then _dvbin=yes + _inputmodules="dvb $_inputmodules" else _dvbin=no fi @@ -4759,6 +4760,11 @@ echores "$_libavcodec" fi +_def_haveffpostprocess='no' +if test -d libavcodec && test -f libavcodec/postprocess.h ; then + _def_haveffpostprocess='yes' +fi + if test "$_libavcodec" != yes ; then echocheck "FFmpeg libavcodec (dynamic)" if test "$_libavcodecso" = auto ; then @@ -4796,7 +4802,6 @@ _def_libavcodec='#define USE_LIBAVCODEC 1' _def_libavcodecso='#define USE_LIBAVCODEC_SO 1' _ld_libavcodec='-lavcodec' - _def_ffpostprocess='#define FF_POSTPROCESS 1' _codecmodules="libavcodec.so $_codecmodules" else _nocodecmodules="libavcodec $_nocodecmodules" @@ -5662,7 +5667,7 @@ OPENDIVX = $_opendivx UNRARLIB = $_unrarlib - +HAVE_FFPOSTPROCESS = $_def_haveffpostprocess PNG = $_mkf_png JPEG = $_mkf_jpg GIF = $_mkf_gif diff -Naur MPlayer-20031011/libmpcodecs/Makefile MPlayer-20031010-new/libmpcodecs/Makefile --- MPlayer-20031011/libmpcodecs/Makefile 2003-10-05 00:00:24.000000000 +0200 +++ MPlayer-20031010-new/libmpcodecs/Makefile 2003-10-11 09:47:57.000000000 +0200 @@ -14,7 +14,11 @@ VIDEO_SRCS_OPT=vd_realvid.c vd_ffmpeg.c vd_dshow.c vd_dmo.c vd_vfw.c vd_vfwex.c vd_odivx.c vd_divx4.c vd_xanim.c vd_xvid.c vd_libdv.c vd_qtvideo.c vd_theora.c VIDEO_SRCS=dec_video.c vd.c $(VIDEO_SRCS_NAT) $(VIDEO_SRCS_LIB) $(VIDEO_SRCS_OPT) -VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_pp.c vf_scale.c vf_format.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c vf_bmovl.c vf_2xsai.c vf_unsharp.c vf_swapuv.c vf_il.c vf_boxblur.c vf_sab.c vf_smartblur.c vf_perspective.c vf_down3dright.c vf_field.c vf_denoise3d.c vf_hqdn3d.c vf_detc.c vf_telecine.c vf_tfields.c vf_ivtc.c vf_ilpack.c vf_dsize.c vf_decimate.c vf_softpulldown.c vf_tinterlace.c vf_pullup.c pullup.c vf_framestep.c vf_tile.c vf_delogo.c +VFILTER_SRCS=vf.c vf_vo.c vf_crop.c vf_expand.c vf_scale.c vf_format.c vf_yuy2.c vf_flip.c vf_rgb2bgr.c vf_rotate.c vf_mirror.c vf_palette.c vf_lavc.c vf_dvbscale.c vf_cropdetect.c vf_test.c vf_noise.c vf_yvu9.c vf_rectangle.c vf_lavcdeint.c vf_eq.c vf_eq2.c vf_halfpack.c vf_dint.c vf_1bpp.c vf_bmovl.c vf_2xsai.c vf_unsharp.c vf_swapuv.c vf_il.c vf_boxblur.c vf_sab.c vf_smartblur.c vf_perspective.c vf_down3dright.c vf_field.c vf_denoise3d.c vf_hqdn3d.c vf_detc.c vf_telecine.c vf_tfields.c vf_ivtc.c vf_ilpack.c vf_dsize.c vf_decimate.c vf_softpulldown.c vf_tinterlace.c vf_pullup.c pullup.c vf_framestep.c vf_tile.c vf_delogo.c +ifeq ($(HAVE_FFPOSTPROCESS),yes) +SRCS += vf_pp.c +endif + ENCODER_SRCS=ve.c ve_divx4.c ve_lavc.c ve_vfw.c ve_rawrgb.c ve_libdv.c ve_xvid.c ve_qtvideo.c ve_nuv.c NATIVE_SRCS=native/RTjpegN.c native/cinepak.c native/fli.c native/minilzo.c native/msvidc.c native/nuppelvideo.c native/qtrle.c native/qtrpza.c native/qtsmc.c native/roqav.c native/xa_gsm.c native/decode144.c native/decode288.c diff -Naur MPlayer-20031011/libmpcodecs/vf.c MPlayer-20031010-new/libmpcodecs/vf.c --- MPlayer-20031011/libmpcodecs/vf.c 2003-09-04 00:44:28.000000000 +0200 +++ MPlayer-20031010-new/libmpcodecs/vf.c 2003-10-11 09:56:23.000000000 +0200 @@ -26,7 +26,9 @@ #endif extern vf_info_t vf_info_crop; extern vf_info_t vf_info_expand; +#ifdef FF_POSTPROCESS extern vf_info_t vf_info_pp; +#endif extern vf_info_t vf_info_scale; #ifdef USE_LIBFAME extern vf_info_t vf_info_fame; @@ -84,7 +86,7 @@ #endif &vf_info_crop, &vf_info_expand, -#ifdef USE_LIBAVCODEC +#ifdef FF_POSTPROCESS &vf_info_pp, #endif &vf_info_scale,