summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-11 17:41:42 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-10-11 17:41:42 +0200
commite0a78483e503771c2e163e11f4366addc489f90e (patch)
tree65d1a20cfd4441437e7fb15067d7b9f65837abfd
parent52003d97f6c92d15607ef0d4f1e953f342ccd51e (diff)
fixed seekbar update bug when song change was initiated by user
-rw-r--r--streamer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/streamer.c b/streamer.c
index 25d87c99..3a2eaca8 100644
--- a/streamer.c
+++ b/streamer.c
@@ -201,6 +201,7 @@ streamer_set_nextsong (int song, int pstate) {
if (p_isstopped ()) {
// no sense to wait until end of previous song, reset buffer
bytes_until_next_song = 0;
+ playpos = 0;
}
}