diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-25 16:19:29 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-12-25 16:19:29 +0100 |
commit | 3f91fde9095524adf05e8fdc5d50dbfea391dd4f (patch) | |
tree | 12ab05bb17e48e771598c173497a64000ad1ab48 /streamer.c | |
parent | 1bcaa50b1fed3bc76f929c788b2bbfeb17927040 (diff) |
minor tweaks to bitrate display
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -306,6 +306,8 @@ streamer_thread (void *ctx) { p_stop (); } else if (pstate == 1) { + last_bitrate = -1; + avg_bitrate = -1; p_play (); } else if (pstate == 2) { @@ -358,6 +360,7 @@ streamer_thread (void *ctx) { // copy streaming into playing pl_item_copy (&str_playing_song, &str_streaming_song); last_bitrate = -1; + avg_bitrate = -1; orig_playing_song = orig_streaming_song; if (orig_playing_song) { orig_playing_song->played = 1; |