diff options
author | wm4 <wm4@nowhere> | 2012-08-07 00:17:24 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-07 01:09:30 +0200 |
commit | c113e6ed7de00dcee53f94871985a33dca9c7c29 (patch) | |
tree | ee601fc4e4f4d0b3ed712282450dcb658fcf0f29 /configure | |
parent | 229380d9bd1995583c38d2cc061d5264e3afb020 (diff) | |
download | mpv-c113e6ed7de00dcee53f94871985a33dca9c7c29.tar.bz2 mpv-c113e6ed7de00dcee53f94871985a33dca9c7c29.tar.xz |
Remove V4L2 decoder support (vo_v4l2 and ao_v4l2)
The removed VO and AO took MPEG data and decoded it with V4L2. I'm not
exactly sure what's the use of this today, but get rid of it.
As far as feeding video data to V4L2 is concerned, there are other
ways. For example, there is this script, that feeds yuv4mpeg formatted
raw video data to V4L2:
https://raw.github.com/umlaeute/v4l2loopback/master/examples/yuv4mpeg_to_v4l2.c
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -362,7 +362,6 @@ Video output: --enable-caca enable CACA video output [autodetect] --enable-direct3d enable Direct3D video output [autodetect] --enable-directx enable DirectX video output [autodetect] - --enable-v4l2 enable V4L2 Decoder audio/video output [autodetect] --enable-xv enable Xv video output [autodetect] --enable-vdpau enable VDPAU acceleration [autodetect] --enable-vm enable XF86VidMode support [autodetect] @@ -463,7 +462,6 @@ _gl=auto _aa=auto _caca=auto _dvb=auto -_v4l2=auto _iconv=auto _ossaudio=auto _rsound=auto @@ -687,8 +685,6 @@ for ac_option do --disable-caca) _caca=no ;; --enable-dvb) _dvb=yes ;; --disable-dvb) _dvb=no ;; - --enable-v4l2) _v4l2=yes ;; - --disable-v4l2) _v4l2=no ;; --enable-iconv) _iconv=yes ;; --disable-iconv) _iconv=no ;; --enable-libdv) _libdv=yes ;; @@ -2664,37 +2660,6 @@ echores "$_directx" fi #if win32; then -echocheck "V4L2 MPEG Decoder" -if test "$_v4l2" = auto ; then - cat > $TMPC << EOF -#include <sys/time.h> -#include <linux/videodev2.h> -#include <linux/version.h> -int main(void) { -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,22) -#error kernel headers too old, need 2.6.22 -#endif - struct v4l2_ext_controls ctrls; - ctrls.ctrl_class = V4L2_CTRL_CLASS_MPEG; - return 0; -} -EOF - _v4l2=no - cc_check && _v4l2=yes -fi -if test "$_v4l2" = yes ; then - def_v4l2='#define CONFIG_V4L2_DECODER 1' - vomodules="v4l2 $vomodules" - aomodules="v4l2 $aomodules" -else - def_v4l2='#undef CONFIG_V4L2_DECODER' - novomodules="v4l2 $novomodules" - noaomodules="v4l2 $noaomodules" -fi -echores "$_v4l2" - - - ######### # AUDIO # ######### @@ -3968,7 +3933,6 @@ TV = $_tv TV_BSDBT848 = $_tv_bsdbt848 TV_DSHOW = $_tv_dshow TV_V4L2 = $_tv_v4l2 -V4L2 = $_v4l2 VCD = $_vcd VDPAU = $_vdpau VSTREAM = $_vstream |