@ -131,6 +131,8 @@ show_help(){
echo " --enable-protocol=NAME enable protocol NAME"
echo " --enable-protocol=NAME enable protocol NAME"
echo " --disable-protocol=NAME disable protocol NAME"
echo " --disable-protocol=NAME disable protocol NAME"
echo " --disable-protocols disable all protocols"
echo " --disable-protocols disable all protocols"
echo " --disable-indev=NAME disable input device NAME"
echo " --disable-outdev=NAME disable output device NAME"
echo " --disable-indevs disable input devices"
echo " --disable-indevs disable input devices"
echo " --disable-outdevs disable output devices"
echo " --disable-outdevs disable output devices"
echo " --disable-devices disable all devices"
echo " --disable-devices disable all devices"
@ -1141,38 +1143,38 @@ libxvid_encoder_deps="libxvid"
# demuxers / muxers
# demuxers / muxers
ac3_demuxer_deps="ac3_parser"
ac3_demuxer_deps="ac3_parser"
alsa_demuxer _deps="alsa_asoundlib_h snd_pcm_htimestamp"
alsa_indev _deps="alsa_asoundlib_h snd_pcm_htimestamp"
alsa_demuxer _extralibs="-lasound"
alsa_indev _extralibs="-lasound"
alsa_muxer _deps="alsa_asoundlib_h"
alsa_outdev _deps="alsa_asoundlib_h"
alsa_muxer _extralibs="-lasound"
alsa_outdev _extralibs="-lasound"
audio_beos_demuxer _deps="audio_beos"
audio_beos_indev _deps="audio_beos"
audio_beos_demuxer _extralibs="-lmedia -lbe"
audio_beos_indev _extralibs="-lmedia -lbe"
audio_beos_muxer _deps="audio_beos"
audio_beos_outdev _deps="audio_beos"
audio_beos_muxer _extralibs="-lmedia -lbe"
audio_beos_outdev _extralibs="-lmedia -lbe"
avisynth_demuxer_deps="avisynth"
avisynth_demuxer_deps="avisynth"
bktr_demuxer _deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
bktr_indev _deps_any="dev_bktr_ioctl_bt848_h machine_ioctl_bt848_h dev_video_bktr_ioctl_bt848_h dev_ic_bt8xx_h"
dirac_demuxer_deps="dirac_parser"
dirac_demuxer_deps="dirac_parser"
dv1394_demuxer _deps="dv1394 dv_demuxer"
dv1394_indev _deps="dv1394 dv_demuxer"
jack_demuxer _deps="jack_jack_h"
jack_indev _deps="jack_jack_h"
jack_demuxer _extralibs="-ljack"
jack_indev _extralibs="-ljack"
libdc1394_demuxer _deps="libdc1394"
libdc1394_indev _deps="libdc1394"
libnut_demuxer_deps="libnut"
libnut_demuxer_deps="libnut"
libnut_muxer_deps="libnut"
libnut_muxer_deps="libnut"
matroska_demuxer_suggest="zlib bzlib"
matroska_demuxer_suggest="zlib bzlib"
mov_demuxer_suggest="zlib"
mov_demuxer_suggest="zlib"
mp3_demuxer_deps="mpegaudio_parser"
mp3_demuxer_deps="mpegaudio_parser"
oss_demuxer _deps_any="soundcard_h sys_soundcard_h"
oss_indev _deps_any="soundcard_h sys_soundcard_h"
oss_muxer _deps_any="soundcard_h sys_soundcard_h"
oss_outdev _deps_any="soundcard_h sys_soundcard_h"
redir_demuxer_deps="network"
redir_demuxer_deps="network"
rtp_muxer_deps="network rtp_protocol"
rtp_muxer_deps="network rtp_protocol"
rtsp_demuxer_deps="sdp_demuxer"
rtsp_demuxer_deps="sdp_demuxer"
sdp_demuxer_deps="rtp_protocol mpegts_demuxer"
sdp_demuxer_deps="rtp_protocol mpegts_demuxer"
v4l_demuxer _deps="linux_videodev_h"
v4l_indev _deps="linux_videodev_h"
v4l2_demuxer _deps_any="linux_videodev2_h sys_videoio_h"
v4l2_indev _deps_any="linux_videodev2_h sys_videoio_h"
vfwcap_demuxer _deps="capCreateCaptureWindow"
vfwcap_indev _deps="capCreateCaptureWindow"
vfwcap_demuxer _extralibs="-lvfw32"
vfwcap_indev _extralibs="-lvfw32"
x11_grab_device_demuxer _deps="x11grab XShmCreateImage"
x11_grab_device_indev _deps="x11grab XShmCreateImage"
x11_grab_device_demuxer _extralibs="-lX11 -lXext"
x11_grab_device_indev _extralibs="-lX11 -lXext"
# protocols
# protocols
gopher_protocol_deps="network"
gopher_protocol_deps="network"
@ -1296,8 +1298,8 @@ PARSER_LIST=$(find_things parser PARSER libavcodec/allcodecs.c)
BSF_LIST=$(find_things bsf BSF libavcodec/allcodecs.c)
BSF_LIST=$(find_things bsf BSF libavcodec/allcodecs.c)
MUXER_LIST=$(find_things muxer _MUX libavformat/allformats.c)
MUXER_LIST=$(find_things muxer _MUX libavformat/allformats.c)
DEMUXER_LIST=$(find_things demuxer DEMUX libavformat/allformats.c)
DEMUXER_LIST=$(find_things demuxer DEMUX libavformat/allformats.c)
OUTDEV_LIST=$(find_things muxer _MUX libavdevice/alldevices.c)
OUTDEV_LIST=$(find_things outdev OUTDEV libavdevice/alldevices.c)
INDEV_LIST=$(find_things demuxer DEMUX libavdevice/alldevices.c)
INDEV_LIST=$(find_things indev _IN libavdevice/alldevices.c)
PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
@ -1343,7 +1345,7 @@ for opt do
--enable-*=*|--disable-*=*)
--enable-*=*|--disable-*=*)
eval $(echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/')
eval $(echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/')
case "$thing" in
case "$thing" in
encoder|decoder|hwaccel|muxer|demuxer|parser|bsf|protocol|filter) $action ${optval}_${thing} ;;
encoder|decoder|hwaccel|muxer|demuxer|indev|outdev| parser|bsf|protocol|filter) $action ${optval}_${thing} ;;
*) die_unknown "$opt" ;;
*) die_unknown "$opt" ;;
esac
esac
;;
;;