diff options
author | bugmen0t <@> | 2013-11-09 01:21:53 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-11-13 21:16:14 +0100 |
commit | 417fa2ffecd42cf0cbd43fb16aff6456d6eca5ad (patch) | |
tree | 7ce80462e3e95af8e3e691758d7dfc70b15e9db9 /configure | |
parent | 35d7ed7bf145c66d1cfe33d1e0d8b2204b61af14 (diff) | |
download | mpv-417fa2ffecd42cf0cbd43fb16aff6456d6eca5ad.tar.bz2 mpv-417fa2ffecd42cf0cbd43fb16aff6456d6eca5ad.tar.xz |
configure: enable v4l2 input on freebsd
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -2936,6 +2936,8 @@ if test "$_tv_v4l2" = auto ; then _tv_v4l2=no if test "$_tv" = yes && linux ; then header_check_broken sys/time.h linux/videodev2.h && _tv_v4l2=yes + elif test "$_tv" = yes && freebsd ; then + header_check linux/videodev2.h && _tv_v4l2=yes elif test "$_tv" = yes && test "$sys_videoio_h" = "yes" ; then _tv_v4l2=yes fi @@ -2990,7 +2992,7 @@ echores "$_radio_capture" echocheck "Video 4 Linux 2 Radio interface" if test "$_radio_v4l2" = auto ; then _radio_v4l2=no - if test "$_radio" = yes && linux ; then + if test "$_radio" = yes && (linux || freebsd) ; then header_check linux/videodev2.h && _radio_v4l2=yes fi fi @@ -3009,7 +3011,7 @@ fi echocheck "Video 4 Linux 2 MPEG PVR interface" if test "$_pvr" = auto ; then _pvr=no - if test "$_tv_v4l2" = yes && linux ; then + if test "$_tv_v4l2" = yes ; then cat > $TMPC <<EOF #include <sys/time.h> #include <linux/videodev2.h> |