diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2015-01-06 17:44:58 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-01-06 19:52:27 +0100 |
commit | ec92ab294e68dc29ce2c179bae4e1587950da1f2 (patch) | |
tree | d8f2d003768fe3235b2db83b7cab6879d0bd075e /stream/stream_dvb.c | |
parent | 672b5df411d55e7069cbcd45d9fd513561ed4996 (diff) | |
download | mpv-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.
Diffstat (limited to 'stream/stream_dvb.c')
-rw-r--r-- | stream/stream_dvb.c | 1 |
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"; |