diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-03-21 21:45:09 +0100 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-03-21 21:45:09 +0100 |
commit | a3b16b779ccac616fc32638f0642d797fddc13e3 (patch) | |
tree | fd785460ee7b88961c1c10e7a4dde67326af18f5 | |
parent | ae2e616470bf7b0505a23a3a4cb23f2d9e95bdb9 (diff) |
fixed seekbar draw regression
-rw-r--r-- | streamer.c | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -423,13 +423,15 @@ streamer_set_current (playItem_t *it) { //trace ("from=%d, to=%d\n", from, to); //messagepump_push (M_SONGCHANGED, 0, from, to); } - if (playing_track) { - pl_item_unref (playing_track); - } - playing_track = it; - if (playing_track) { - pl_item_ref (playing_track); - } + +// code below breaks seekbar drawing during transition between tracks +// if (playing_track) { +// pl_item_unref (playing_track); +// } +// playing_track = it; +// if (playing_track) { +// pl_item_ref (playing_track); +// } trace ("streamer_set_current %p, buns=%d\n", it); mutex_lock (decodemutex); if (fileinfo) { |