summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-09-13 17:16:18 +0200
committerwm4 <wm4@nowhere>2019-09-13 17:32:19 +0200
commitb30e85508a305d668db8419556d295a65ab08707 (patch)
treefa48444a183c97fd5081aa0206c5adece43eaf32 /wscript_build.py
parent162e0f5ad92116d1a4fb740d087da2a152686b73 (diff)
downloadmpv-b30e85508a305d668db8419556d295a65ab08707.tar.bz2
mpv-b30e85508a305d668db8419556d295a65ab08707.tar.xz
Remove classic Linux analog TV support, and DVB runtime controls
Linux analog TV support (via tv://) was excessively complex, and whenever I attempted to use it (cameras or loopback devices), it didn't work well, or would have required some major work to update it. It's very much stuck in the analog past (my favorite are the frequency tables in frequencies.c for analog TV channels which don't exist anymore). Especially cameras and such work fine with libavdevice and better than tv://, for example: mpv av://v4l2:/dev/video0 (adding --profile=low-latency --untimed even makes it mostly realtime) Adding a new input layer that targets such "modern" uses would be acceptable, if anyone is interested in it. The old TV code is just too focused on actual analog TV. DVB is rather obscure, but has an active maintainer, so don't remove it. However, the demux/stream ctrl layer must go, so remove controls for channel switching. Most of these could be reimplemented by using the normal method for option runtime changes.
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/wscript_build.py b/wscript_build.py
index 267b1778d2..c151d97bce 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -286,7 +286,6 @@ def build(ctx):
( "demux/demux_rar.c" ),
( "demux/demux_raw.c" ),
( "demux/demux_timeline.c" ),
- ( "demux/demux_tv.c", "tv" ),
( "demux/ebml.c" ),
( "demux/packet.c" ),
( "demux/timeline.c" ),
@@ -353,13 +352,8 @@ def build(ctx):
( "player/video.c" ),
## Streams
- ( "stream/ai_alsa1x.c", "alsa && audio-input" ),
- ( "stream/ai_oss.c", "oss-audio && audio-input" ),
- ( "stream/ai_sndio.c", "sndio && audio-input" ),
- ( "stream/audio_in.c", "audio-input" ),
( "stream/cookies.c" ),
( "stream/dvb_tune.c", "dvbin" ),
- ( "stream/frequencies.c", "tv" ),
( "stream/rar.c" ),
( "stream/stream.c" ),
( "stream/stream_avdevice.c" ),
@@ -377,10 +371,6 @@ def build(ctx):
( "stream/stream_null.c" ),
( "stream/stream_rar.c" ),
( "stream/stream_smb.c", "libsmbclient" ),
- ( "stream/stream_tv.c", "tv" ),
- ( "stream/tv.c", "tv" ),
- ( "stream/tvi_dummy.c", "tv" ),
- ( "stream/tvi_v4l2.c", "tv-v4l2"),
## Subtitles
( "sub/ass_mp.c", "libass"),