diff options
author | wm4 <wm4@nowhere> | 2019-09-13 17:16:18 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-13 17:32:19 +0200 |
commit | b30e85508a305d668db8419556d295a65ab08707 (patch) | |
tree | fa48444a183c97fd5081aa0206c5adece43eaf32 /stream/stream.c | |
parent | 162e0f5ad92116d1a4fb740d087da2a152686b73 (diff) | |
download | mpv-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 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/stream/stream.c b/stream/stream.c index fd2bd8c163..273ab06959 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -46,7 +46,6 @@ extern const stream_info_t stream_info_cdda; extern const stream_info_t stream_info_dvb; -extern const stream_info_t stream_info_tv; extern const stream_info_t stream_info_smb; extern const stream_info_t stream_info_null; extern const stream_info_t stream_info_memory; @@ -75,9 +74,6 @@ static const stream_info_t *const stream_list[] = { #if HAVE_DVBIN &stream_info_dvb, #endif -#if HAVE_TV - &stream_info_tv, -#endif #if HAVE_LIBSMBCLIENT &stream_info_smb, #endif |