stream_dvb: Remove call to stream_drop_buffers in fill_buffer.

The call was hidden very well, via
dvb_streaming_read -> dvb_update_config
-> dvb_streaming_start -> dvb_set_channel,
and broke the stream buffering logic.
Dropping that call does not noticeably slow down channel switches.
This commit is contained in:
Oliver Freyermuth 2020-04-10 16:43:42 +02:00
parent c2ee7bce4c
commit b4c1554f7a
1 changed files with 0 additions and 2 deletions

View File

@ -836,8 +836,6 @@ int dvb_set_channel(stream_t *stream, unsigned int adapter, unsigned int n)
MP_VERBOSE(stream, "DVB_SET_CHANNEL: new channel name=%s, adapter: %d, "
"channel %d\n", channel->name, devno, n);
stream_drop_buffers(stream);
if (channel->freq != state->last_freq) {
if (!dvb_tune(priv, channel->delsys, channel->freq,
channel->pol, channel->srate, channel->diseqc,