From ec92ab294e68dc29ce2c179bae4e1587950da1f2 Mon Sep 17 00:00:00 2001 From: Oliver Freyermuth Date: Tue, 6 Jan 2015 17:44:58 +0100 Subject: 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. --- stream/stream_dvb.c | 1 + 1 file changed, 1 insertion(+) 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"; -- cgit v1.2.3