From fb9a32977d6abf4c83a92d993af58e393819c062 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 2 Feb 2017 18:24:27 +0100 Subject: stream: get rid of streamtype enum Because it's kind of dumb. (But not sure if it was worth the trouble.) For stream_file.c, we add new explicit fields. The rest are rather special uses and can be killed by comparing the stream impl. name. The changes to DVD/BD/CD/TV are entirely untested. --- stream/stream_avdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_avdevice.c') diff --git a/stream/stream_avdevice.c b/stream/stream_avdevice.c index 9734b7b6f5..2b132cd1a9 100644 --- a/stream/stream_avdevice.c +++ b/stream/stream_avdevice.c @@ -21,8 +21,8 @@ static int open_f(stream_t *stream) { - stream->type = STREAMTYPE_AVDEVICE; stream->demuxer = "lavf"; + stream->allow_caching = false; return STREAM_OK; } -- cgit v1.2.3