diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-10 00:34:16 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-03-10 00:34:16 +0200 |
commit | 327463be525b12e3d00d5fa0e8e15d5000fcd27b (patch) | |
tree | 37db96b1a1b4b1b941706e4e4c4dcdec9cbd4ed2 /stream/stream_dvb.c | |
parent | 7e90be7093daa79fc26dedac6cfb90e87c8acaff (diff) | |
parent | 88a8591bc6ae6b9fdbf293ac75967cb9e21f4875 (diff) | |
download | mpv-327463be525b12e3d00d5fa0e8e15d5000fcd27b.tar.bz2 mpv-327463be525b12e3d00d5fa0e8e15d5000fcd27b.tar.xz |
Merge svn changes up to r30672
Diffstat (limited to 'stream/stream_dvb.c')
-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, |