From afde41b414e27753db7d13621fc96e27040327ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 14 Feb 2007 22:12:49 +0000 Subject: [PATCH] rename video4linux[2] variables to v4l[2], consistent with --disable options Originally committed as revision 7984 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 20 ++++++++------------ libavformat/Makefile | 2 +- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/configure b/configure index 133d577..3442a9e 100755 --- a/configure +++ b/configure @@ -507,8 +507,8 @@ CONFIG_LIST=' protocols swscaler vhook - video4linux - video4linux2 + v4l + v4l2 wince x11grab x264 @@ -618,8 +618,8 @@ redir_demuxer_deps="network" rtp_muxer_deps="network" rtsp_demuxer_deps="network" sdp_demuxer_deps="network" -v4l2_demuxer_deps="video4linux2" -video_grab_device_demuxer_deps_any="video4linux bktr" +v4l2_demuxer_deps="v4l2" +video_grab_device_demuxer_deps_any="v4l bktr" x11_grab_device_demuxer_deps="x11grab" ffplay_deps="sdl" @@ -745,8 +745,8 @@ audio_beos="no" audio_oss="yes" bktr="yes" dv1394="yes" -video4linux2="yes" -video4linux="yes" +v4l2="yes" +v4l="yes" # libraries amr_if2="no" @@ -1030,10 +1030,6 @@ for opt do ;; --cpu=*) cpu="$optval" ;; - --disable-v4l) video4linux="no" - ;; - --disable-v4l2) video4linux2="no" - ;; --enable-mingwce) wince="yes" ;; --disable-opts) optimize="no" @@ -1643,8 +1639,8 @@ int main( void ) { } EOF -enabled video4linux && check_header linux/videodev.h || disable video4linux -enabled video4linux2 && check_header linux/videodev2.h || disable video4linux2 +enabled v4l && check_header linux/videodev.h || disable v4l +enabled v4l2 && check_header linux/videodev2.h || disable v4l2 # check for ioctl_meteor.h, ioctl_bt848.h and alternatives if enabled bktr; then diff --git a/libavformat/Makefile b/libavformat/Makefile index 1fbfd38..aa609a6 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -140,7 +140,7 @@ OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o OBJS+= framehook.o -ifeq ($(CONFIG_VIDEO4LINUX),yes) +ifeq ($(CONFIG_V4L),yes) OBJS-$(CONFIG_VIDEO_GRAB_DEVICE_DEMUXER) += grab.o endif -- 2.7.4