Mercurial > mplayer.hg
comparison configure @ 34101:bffc842649c2
build: enable libavfilter.
author | cigaes |
---|---|
date | Wed, 12 Oct 2011 11:38:08 +0000 |
parents | 0be10e21f6ac |
children | dd8320c2a2cb |
comparison
equal
deleted
inserted
replaced
34100:2bb0317b1ea5 | 34101:bffc842649c2 |
---|---|
666 libavdemuxers=$(echo $libavdemuxers_all | sed -e 's/ LIB[A-Z0-9_]*_DEMUXER//g' -e s/REDIR_DEMUXER// -e s/AVISYNTH_DEMUXER//) | 666 libavdemuxers=$(echo $libavdemuxers_all | sed -e 's/ LIB[A-Z0-9_]*_DEMUXER//g' -e s/REDIR_DEMUXER// -e s/AVISYNTH_DEMUXER//) |
667 libavmuxers_all=$(sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' ffmpeg/libavformat/allformats.c | tr '[a-z]' '[A-Z]') | 667 libavmuxers_all=$(sed -n 's/^[^#]*_MUX.*(.*, *\(.*\)).*/\1_muxer/p' ffmpeg/libavformat/allformats.c | tr '[a-z]' '[A-Z]') |
668 libavmuxers=$(echo $libavmuxers_all | sed -e 's/ LIB[A-Z0-9_]*_MUXER//g' -e s/RTP_MUXER// -e s/RTSP_MUXER// -e s/SAP_MUXER//) | 668 libavmuxers=$(echo $libavmuxers_all | sed -e 's/ LIB[A-Z0-9_]*_MUXER//g' -e s/RTP_MUXER// -e s/RTSP_MUXER// -e s/SAP_MUXER//) |
669 libavprotocols_all=$(sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' ffmpeg/libavformat/allformats.c | tr '[a-z]' '[A-Z]') | 669 libavprotocols_all=$(sed -n 's/^[^#]*PROTOCOL.*(.*, *\(.*\)).*/\1_protocol/p' ffmpeg/libavformat/allformats.c | tr '[a-z]' '[A-Z]') |
670 libavprotocols=$libavprotocols_all | 670 libavprotocols=$libavprotocols_all |
671 libavfilters_all=$(sed -n 's/^[^#]*FILTER.*(.*, *\(.*\),.*).*/\1_filter/p' ffmpeg/libavfilter/allfilters.c | tr '[a-z]' '[A-Z]') | |
672 libavfilters=$(echo $libavfilters_all | sed -e 's/ LIB[A-Z0-9_]*_FILTER//g' -e 's/ FREI0R[A-Z0-9_]*_FILTER//g' -e 's/ OCV_FILTER//g' -e 's/ MP_FILTER//g') | |
671 _mencoder=yes | 673 _mencoder=yes |
672 _mplayer=yes | 674 _mplayer=yes |
673 _x11=auto | 675 _x11=auto |
674 _xshape=auto | 676 _xshape=auto |
675 _xss=auto | 677 _xss=auto |
1268 --disable-protocol=*) libavprotocols=$(echo $libavprotocols | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1270 --disable-protocol=*) libavprotocols=$(echo $libavprotocols | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1269 --enable-demuxer=*) libavdemuxers="$libavdemuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1271 --enable-demuxer=*) libavdemuxers="$libavdemuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1270 --disable-demuxer=*) libavdemuxers=$(echo $libavdemuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1272 --disable-demuxer=*) libavdemuxers=$(echo $libavdemuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1271 --enable-muxer=*) libavmuxers="$libavmuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | 1273 --enable-muxer=*) libavmuxers="$libavmuxers $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; |
1272 --disable-muxer=*) libavmuxers=$(echo $libavmuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | 1274 --disable-muxer=*) libavmuxers=$(echo $libavmuxers | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; |
1275 --enable-filter=*) libavfilters="$libavfilters $(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')" ;; | |
1276 --disable-filter=*) libavfilters=$(echo $libavfilters | sed "s/$(echo $ac_option | cut -d '=' -f 2 | tr '[a-z]' '[A-Z]')//g") ;; | |
1273 --enable-ffmpeg_a) ffmpeg_a=yes ;; | 1277 --enable-ffmpeg_a) ffmpeg_a=yes ;; |
1274 --disable-ffmpeg_a) ffmpeg_a=no ;; | 1278 --disable-ffmpeg_a) ffmpeg_a=no ;; |
1275 --enable-ffmpeg_so) ffmpeg_so=yes ;; | 1279 --enable-ffmpeg_so) ffmpeg_so=yes ;; |
1276 --disable-ffmpeg_so) ffmpeg_so=no ;; | 1280 --disable-ffmpeg_so) ffmpeg_so=no ;; |
1277 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;; | 1281 --enable-libavcodec_mpegaudio_hp) _libavcodec_mpegaudio_hp=yes ;; |
8004 # FFmpeg | 8008 # FFmpeg |
8005 FFMPEG = $ffmpeg | 8009 FFMPEG = $ffmpeg |
8006 FFMPEG_A = $ffmpeg_a | 8010 FFMPEG_A = $ffmpeg_a |
8007 | 8011 |
8008 CONFIG_AVCODEC = $ffmpeg_a | 8012 CONFIG_AVCODEC = $ffmpeg_a |
8013 CONFIG_AVFILTER = $ffmpeg_a | |
8009 CONFIG_AVFORMAT = $ffmpeg_a | 8014 CONFIG_AVFORMAT = $ffmpeg_a |
8010 CONFIG_AVUTIL = $ffmpeg_a | 8015 CONFIG_AVUTIL = $ffmpeg_a |
8011 CONFIG_POSTPROC = $ffmpeg_a | 8016 CONFIG_POSTPROC = $ffmpeg_a |
8012 CONFIG_SWSCALE = $ffmpeg_a | 8017 CONFIG_SWSCALE = $ffmpeg_a |
8013 | 8018 |
8081 $(echo $libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | 8086 $(echo $libavdemuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') |
8082 $(echo $libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | 8087 $(echo $libavmuxers | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') |
8083 $(echo $libavprotocols | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | 8088 $(echo $libavprotocols | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') |
8084 $(echo $libavbsfs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | 8089 $(echo $libavbsfs | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') |
8085 $(echo $libavhwaccels | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | 8090 $(echo $libavhwaccels | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') |
8091 $(echo $libavfilters | tr '[a-z] ' '[A-Z]\n' | sed 's/^/CONFIG_/;s/$/=yes/') | |
8086 EOF | 8092 EOF |
8087 | 8093 |
8088 ############################################################################# | 8094 ############################################################################# |
8089 | 8095 |
8090 ff_config_enable () { | 8096 ff_config_enable () { |
8536 #define HAVE_AVX 0 | 8542 #define HAVE_AVX 0 |
8537 #define HAVE_GETHRTIME 0 | 8543 #define HAVE_GETHRTIME 0 |
8538 #define HAVE_INLINE_ASM 1 | 8544 #define HAVE_INLINE_ASM 1 |
8539 #define HAVE_ISATTY 0 | 8545 #define HAVE_ISATTY 0 |
8540 #define HAVE_LDBRX 0 | 8546 #define HAVE_LDBRX 0 |
8547 #define HAVE_LOCALTIME_R 0 | |
8541 #define HAVE_MAPVIEWOFFILE 0 | 8548 #define HAVE_MAPVIEWOFFILE 0 |
8542 #define HAVE_PPC4XX 0 | 8549 #define HAVE_PPC4XX 0 |
8543 #define HAVE_STRERROR_R 0 | 8550 #define HAVE_STRERROR_R 0 |
8544 #define HAVE_SYMVER_ASM_LABEL 0 | 8551 #define HAVE_SYMVER_ASM_LABEL 0 |
8545 #define HAVE_SYMVER_GNU_ASM 0 | 8552 #define HAVE_SYMVER_GNU_ASM 0 |
8592 $(ff_config_enable "$libavdemuxers_all" "$libavdemuxers" "#") | 8599 $(ff_config_enable "$libavdemuxers_all" "$libavdemuxers" "#") |
8593 $(ff_config_enable "$libavmuxers_all" "$libavmuxers" "#") | 8600 $(ff_config_enable "$libavmuxers_all" "$libavmuxers" "#") |
8594 $(ff_config_enable "$libavprotocols_all" "$libavprotocols" "#") | 8601 $(ff_config_enable "$libavprotocols_all" "$libavprotocols" "#") |
8595 $(ff_config_enable "$libavbsfs_all" "$libavbsfs" "#") | 8602 $(ff_config_enable "$libavbsfs_all" "$libavbsfs" "#") |
8596 $(ff_config_enable "$libavhwaccels_all" "$libavhwaccels" "#") | 8603 $(ff_config_enable "$libavhwaccels_all" "$libavhwaccels" "#") |
8604 $(ff_config_enable "$libavfilters_all" "$libavfilters" "#") | |
8597 | 8605 |
8598 #endif /* MPLAYER_CONFIG_H */ | 8606 #endif /* MPLAYER_CONFIG_H */ |
8599 EOF | 8607 EOF |
8600 | 8608 |
8601 # Do not overwrite an unchanged config.h to avoid superfluous rebuilds. | 8609 # Do not overwrite an unchanged config.h to avoid superfluous rebuilds. |