diff options
-rw-r--r-- | stream/stream_dvb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index 7d184b02b2..9df4566e62 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -548,9 +548,9 @@ int dvb_set_channel(stream_t *stream, int card, int n) stream->fd = priv->dvr_fd; mp_msg(MSGT_DEMUX, MSGL_V, "DVB_SET_CHANNEL: new channel name=%s, card: %d, channel %d\n", channel->name, card, n); - stream->eof=1; - stream_reset(stream); - + stream->buf_pos = stream->buf_len = 0; + stream->pos = 0; + stream->eof = 0; if(channel->freq != priv->last_freq) if (! dvb_tune(priv, channel->freq, channel->pol, channel->srate, channel->diseqc, channel->tone, |