summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-06 16:45:01 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-06 16:45:01 +0200
commite8cae2889860d06219175612e8433f0e89e34292 (patch)
tree28b7337ea45751825bfd06bb262a90fb6e7b5a79 /playlist.c
parenteb011f7ba8c6c286b9244c8681f6f7e71c6073b9 (diff)
disabled drag-fail animation (deadbeef side of it)
fixed several alsa problems fixed some streaming problems
Diffstat (limited to 'playlist.c')
-rw-r--r--playlist.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/playlist.c b/playlist.c
index 5f55f807..830ab003 100644
--- a/playlist.c
+++ b/playlist.c
@@ -676,6 +676,8 @@ ps_set_current (playItem_t *it) {
int ret = 0;
int from = ps_get_idx_of (playlist_current_ptr);
int to = ps_get_idx_of (it);
+#if 0
+ // this produces some kind of bug in the beginning of track
if (it == playlist_current_ptr) {
if (it && it->codec) {
codec_lock ();
@@ -684,6 +686,7 @@ ps_set_current (playItem_t *it) {
}
return ret;
}
+#endif
codec_lock ();
if (playlist_current_ptr && playlist_current_ptr->codec) {
playlist_current_ptr->codec->free ();
@@ -701,7 +704,7 @@ ps_set_current (playItem_t *it) {
}
}
if (playlist_current_ptr) {
- streamer_reset ();
+ streamer_reset (0);
}
codec_unlock ();
messagepump_push (M_SONGCHANGED, 0, from, to);