aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla2008-03-08 22:10:28 +0000
committerRamiro Polla2008-03-08 22:10:28 +0000
commitc2345207369600ea6649dc89c66ac0464f2daf0b (patch)
treece4b3266c92e253b653eac0f8b45e2af39fc53bb /configure
parentab8ab30c3d075065b68552cd8e59556b863115e0 (diff)
VFW capture support
Originally committed as revision 12384 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index e93a9a8120..8523af0667 100755
--- a/configure
+++ b/configure
@@ -836,6 +836,8 @@ rtsp_demuxer_deps="sdp_demuxer"
sdp_demuxer_deps="rtp_protocol mpegts_demuxer"
v4l2_demuxer_deps="linux_videodev2_h"
v4l_demuxer_deps="linux_videodev_h"
+vfwcap_demuxer_deps="capCreateCaptureWindow"
+vfwcap_demuxer_extralibs="-lvfw32"
x11_grab_device_demuxer_deps="x11grab XShmCreateImage"
x11_grab_device_demuxer_extralibs="-lX11 -lXext"
@@ -1753,6 +1755,8 @@ EOF
check_header linux/videodev.h
check_header linux/videodev2.h
+check_func2 "windows.h vfw.h" capCreateCaptureWindow -lvfw32
+
# check for ioctl_meteor.h, ioctl_bt848.h and alternatives
{ check_header dev/bktr/ioctl_meteor.h &&
check_header dev/bktr/ioctl_bt848.h; } ||