summaryrefslogtreecommitdiffstats
path: root/stream/stream.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-01-13 17:22:28 +0100
committerwm4 <wm4@nowhere>2013-01-13 17:32:39 +0100
commit97032f1b58cc4c5c17002939703ee16904691675 (patch)
treec1af3881781fb56a79ad95ece7fe9785e2d9283d /stream/stream.c
parenta27a494e665a16b55d5a0520c3acc2bdd278e4c8 (diff)
downloadmpv-97032f1b58cc4c5c17002939703ee16904691675.tar.bz2
mpv-97032f1b58cc4c5c17002939703ee16904691675.tar.xz
Remove netstream support
This allowed to move the input stream layer across the network, allowing the user to play anything that mplayer could play remotely. For example, playing a DVD related on a remote server (say, with the host name "remotehost1") could be done by starting the netstream server on that remote server, and then running: mplayer mpst://remotehost1/dvd:// This would open the DVD on the remote host, and transfer the raw DVD sector reads over network. It works the same for other protocols, and all accesses to the stream layer are marshaled over network. It's comparable to the way the cache layer (--cache) works. It has questionable use and most likely was barely used at all. There's lots of potential for breakage, because it doesn't translate the stream CTRLs to network packets. Just get rid of it. The server used to be in TOOLS/netstream.c, and was accidentally removed earlier.
Diffstat (limited to 'stream/stream.c')
-rw-r--r--stream/stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream.c b/stream/stream.c
index d7ab7a751a..76cf453740 100644
--- a/stream/stream.c
+++ b/stream/stream.c
@@ -65,7 +65,6 @@ static struct input_ctx *stream_check_interrupt_ctx;
extern const stream_info_t stream_info_vcd;
extern const stream_info_t stream_info_cdda;
-extern const stream_info_t stream_info_netstream;
extern const stream_info_t stream_info_asf;
extern const stream_info_t stream_info_udp;
extern const stream_info_t stream_info_http1;
@@ -97,7 +96,6 @@ static const stream_info_t* const auto_open_streams[] = {
&stream_info_ffmpeg, // use for rstp:// before http fallback
&stream_info_avdevice,
#ifdef CONFIG_NETWORKING
- &stream_info_netstream,
&stream_info_http1,
&stream_info_asf,
&stream_info_udp,