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.
This commit is contained in:
Oliver Freyermuth 2015-01-06 17:44:58 +01:00 committed by wm4
parent 672b5df411
commit ec92ab294e
1 changed files with 1 additions and 0 deletions

View File

@ -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";