diff options
author | wm4 <wm4@mplayer2.org> | 2012-07-28 20:20:17 +0200 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-07-28 20:44:59 +0200 |
commit | 16145ff43fd92947cb8fe301ebce46e7be52a9fb (patch) | |
tree | 5a5ade633d922f416d3b1c7c68e8aff878da9a8f /libvo/cocoa_common.m | |
parent | f03eed6469e34a5bff975ed43292016a621296ea (diff) |
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/cocoa_common.m')
-rw-r--r-- | libvo/cocoa_common.m | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/cocoa_common.m b/libvo/cocoa_common.m index 9a822cc4ea..6e2b439a77 100644 --- a/libvo/cocoa_common.m +++ b/libvo/cocoa_common.m @@ -376,13 +376,11 @@ int vo_cocoa_check_events(struct vo *vo) // Without SDL's bootstrap code (include SDL.h in mplayer.c), // on Leopard, we have trouble to get the play window automatically focused // when the app is actived. The Following code fix this problem. -#ifndef CONFIG_SDL if ([event type] == NSAppKitDefined && [event subtype] == NSApplicationActivatedEventType) { [s->window makeMainWindow]; [s->window makeKeyAndOrderFront:nil]; } -#endif return 0; } |