summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Freyermuth <o.freyermuth@googlemail.com>2015-01-06 17:44:58 +0100
committerwm4 <wm4@nowhere>2015-01-06 19:52:27 +0100
commitec92ab294e68dc29ce2c179bae4e1587950da1f2 (patch)
treed8f2d003768fe3235b2db83b7cab6879d0bd075e
parent672b5df411d55e7069cbcd45d9fd513561ed4996 (diff)
downloadmpv-ec92ab294e68dc29ce2c179bae4e1587950da1f2.tar.bz2
mpv-ec92ab294e68dc29ce2c179bae4e1587950da1f2.tar.xz
stream_dvb: Enable streaming mode, activates cache.
This causes more constant reading from the DVB device, and seems not to hurt the stream-controls. As the device cache seems to fill up when not reading from it for several seconds, reading into the cache fixes desync-issues after the initial analyzeduration of the demuxer.
-rw-r--r--stream/stream_dvb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c
index f8122ecd0e..065604f7ab 100644
--- a/stream/stream_dvb.c
+++ b/stream/stream_dvb.c
@@ -901,6 +901,7 @@ static int dvb_open(stream_t *stream)
stream->fill_buffer = dvb_streaming_read;
stream->close = dvbin_close;
stream->control = dvbin_stream_control;
+ stream->streaming = true;
stream->demuxer = "lavf";
stream->lavf_type = "mpegts";