diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-07-04 16:34:48 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-07-04 16:34:48 +0200 |
commit | 6aedb8d7378ea0d5eb773011d28bdf644bb8f54c (patch) | |
tree | 631d5c382c2dc4c7556d4aa9705888918958125d /streamer.c | |
parent | cc01765399ded783c9d42802e1797558e1167748 (diff) |
fixed seeking with global hotkeys
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -714,6 +714,7 @@ streamer_set_nextsong (int song, int pstate) { // no sense to wait until end of previous song, reset buffer bytes_until_next_song = 0; playpos = 0; + seekpos = -1; } } @@ -880,6 +881,7 @@ streamer_thread (void *ctx) { avg_bitrate = -1; playlist_track = playing_track; playpos = 0; + seekpos = -1; // try to switch samplerate to the closest supported by output plugin if (conf_get_int ("playback.dynsamplerate", 0)) { |