summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/streamer.c b/streamer.c
index 4e166a3d..24386b70 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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) {