summaryrefslogtreecommitdiffstats
path: root/libvo/video_out.c
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-07-28 20:20:17 +0200
committerwm4 <wm4@mplayer2.org>2012-07-28 20:44:59 +0200
commit16145ff43fd92947cb8fe301ebce46e7be52a9fb (patch)
tree5a5ade633d922f416d3b1c7c68e8aff878da9a8f /libvo/video_out.c
parentf03eed6469e34a5bff975ed43292016a621296ea (diff)
downloadmpv-16145ff43fd92947cb8fe301ebce46e7be52a9fb.tar.bz2
mpv-16145ff43fd92947cb8fe301ebce46e7be52a9fb.tar.xz
libvo, libao: remove useless video and audio output drivers
Some of these have only limited use, and some of these have no use at all. Remove them. They make maintainance harder and nobody needs them. It's possible that many of the removed drivers were very useful a dozen of years ago, but now it's 2012. Note that some of these could be added back, in case they were more useful than I thought. But right now, they are just a burden. Reason for removal for each module: vo_3dfx, vo_dfbmga, vo_dxr3, vo_ivtv, vo_mga, vo_s3fb, vo_tdfxfb, vo_xmga, vo_tdfx_vid: All of these are for very specific and outdated hardware. Some of them require non-standard kernel drivers or do direct HW access. vo_dga: the most crappy and ancient way to get fast output on X. vo_aa: there's vo_caca for the same purpose. vo_ggi: this never lived, and is entirely useless. vo_mpegpes: for DVB cards, I can't test this and it's crappy. vo_fbdev, vo_fbdev2: there's vo_directfb2 vo_bl: what is this even? But it's neither important, nor alive. vo_svga, vo_vesa: you want to use this? You can't be serious. vo_wii: I can't test this, and who the hell uses this? vo_xvr100: some Sun thing. vo_xover: only useful in connection with xvr100. ao_nas: still alive, but I doubt it has any meaning today. ao_sun: Sun. ao_win32: use ao_dsound or ao_portaudio instead. ao_ivtv: removed along vo_ivtv. Also get rid of anything SDL related. SDL 1.x is total crap for video output, and will be replaced with SDL 2.x soon (perhaps), so if you want to use SDL, write output drivers for SDL 2.x. Additionally, I accidentally damaged Sun support, which made me completely remove Sun/Solaris support. Nobody cares about this anyway. Some left overs from previous commits removing modules were cleaned up.
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r--libvo/video_out.c86
1 files changed, 0 insertions, 86 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c
index b49e5b095f..0adc82c090 100644
--- a/libvo/video_out.c
+++ b/libvo/video_out.c
@@ -75,46 +75,23 @@ int vo_colorkey = 0x0000ff00; // default colorkey is green
//
// Externally visible list of all vo drivers
//
-extern struct vo_driver video_out_mga;
-extern struct vo_driver video_out_xmga;
extern struct vo_driver video_out_x11;
-extern struct vo_driver video_out_xover;
extern struct vo_driver video_out_vdpau;
extern struct vo_driver video_out_xv;
extern struct vo_driver video_out_gl_nosw;
extern struct vo_driver video_out_gl;
extern struct vo_driver video_out_gl3;
-extern struct vo_driver video_out_dga;
-extern struct vo_driver video_out_sdl;
-extern struct vo_driver video_out_3dfx;
-extern struct vo_driver video_out_tdfxfb;
-extern struct vo_driver video_out_s3fb;
-extern struct vo_driver video_out_wii;
extern struct vo_driver video_out_null;
-extern struct vo_driver video_out_bl;
-extern struct vo_driver video_out_fbdev;
-extern struct vo_driver video_out_fbdev2;
-extern struct vo_driver video_out_svga;
extern struct vo_driver video_out_png;
-extern struct vo_driver video_out_ggi;
-extern struct vo_driver video_out_aa;
extern struct vo_driver video_out_caca;
-extern struct vo_driver video_out_mpegpes;
extern struct vo_driver video_out_yuv4mpeg;
extern struct vo_driver video_out_direct3d;
extern struct vo_driver video_out_direct3d_shaders;
extern struct vo_driver video_out_directx;
-extern struct vo_driver video_out_kva;
-extern struct vo_driver video_out_dxr3;
-extern struct vo_driver video_out_ivtv;
extern struct vo_driver video_out_v4l2;
extern struct vo_driver video_out_jpeg;
extern struct vo_driver video_out_gif89a;
-extern struct vo_driver video_out_vesa;
extern struct vo_driver video_out_directfb;
-extern struct vo_driver video_out_dfbmga;
-extern struct vo_driver video_out_tdfx_vid;
-extern struct vo_driver video_out_xvr100;
extern struct vo_driver video_out_tga;
extern struct vo_driver video_out_corevideo;
extern struct vo_driver video_out_sharedbuffer;
@@ -123,12 +100,6 @@ extern struct vo_driver video_out_md5sum;
const struct vo_driver *video_out_drivers[] =
{
-#ifdef CONFIG_XVR100
- &video_out_xvr100,
-#endif
-#ifdef CONFIG_TDFX_VID
- &video_out_tdfx_vid,
-#endif
#ifdef CONFIG_DIRECT3D
&video_out_direct3d_shaders,
&video_out_direct3d,
@@ -136,33 +107,12 @@ const struct vo_driver *video_out_drivers[] =
#ifdef CONFIG_DIRECTX
&video_out_directx,
#endif
-#ifdef CONFIG_KVA
- &video_out_kva,
-#endif
#ifdef CONFIG_GL_COCOA
&video_out_gl,
#endif
#ifdef CONFIG_COREVIDEO
&video_out_corevideo,
#endif
-#ifdef CONFIG_XMGA
- &video_out_xmga,
-#endif
-#ifdef CONFIG_MGA
- &video_out_mga,
-#endif
-#ifdef CONFIG_TDFXFB
- &video_out_tdfxfb,
-#endif
-#ifdef CONFIG_S3FB
- &video_out_s3fb,
-#endif
-#ifdef CONFIG_WII
- &video_out_wii,
-#endif
-#ifdef CONFIG_3DFX
- &video_out_3dfx,
-#endif
#if CONFIG_VDPAU
&video_out_vdpau,
#endif
@@ -177,48 +127,13 @@ const struct vo_driver *video_out_drivers[] =
#endif
#ifdef CONFIG_X11
&video_out_x11,
- &video_out_xover,
-#endif
-#ifdef CONFIG_SDL
- &video_out_sdl,
-#endif
-#ifdef CONFIG_DGA
- &video_out_dga,
-#endif
-#ifdef CONFIG_GGI
- &video_out_ggi,
-#endif
-#ifdef CONFIG_FBDEV
- &video_out_fbdev,
- &video_out_fbdev2,
-#endif
-#ifdef CONFIG_SVGALIB
- &video_out_svga,
-#endif
-#ifdef CONFIG_AA
- &video_out_aa,
#endif
#ifdef CONFIG_CACA
&video_out_caca,
#endif
-#ifdef CONFIG_DXR3
- &video_out_dxr3,
-#endif
-#ifdef CONFIG_IVTV
- &video_out_ivtv,
-#endif
#ifdef CONFIG_V4L2_DECODER
&video_out_v4l2,
#endif
-#ifdef CONFIG_BL
- &video_out_bl,
-#endif
-#ifdef CONFIG_VESA
- &video_out_vesa,
-#endif
-#ifdef CONFIG_DIRECTFB
- &video_out_dfbmga,
-#endif
&video_out_null,
// should not be auto-selected
#ifdef CONFIG_SHAREDBUFFER
@@ -228,7 +143,6 @@ const struct vo_driver *video_out_drivers[] =
// vo directfb can call exit() if initialization fails
&video_out_directfb,
#endif
- &video_out_mpegpes,
#ifdef CONFIG_YUV4MPEG
&video_out_yuv4mpeg,
#endif