summaryrefslogtreecommitdiff
path: root/playlist.c
diff options
context:
space:
mode:
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 94f2181e..8b15bdf1 100644
--- a/playlist.c
+++ b/playlist.c
@@ -647,7 +647,10 @@ pl_set_current (playItem_t *it) {
// don't do anything on fail, streamer will take care
ret = it->codec->init (it);
if (ret < 0) {
- it->codec->info.samplesPerSecond = -1;
+// pl_item_free (&playlist_current);
+// playlist_current_ptr = NULL;
+// return ret;
+//// it->codec->info.samplesPerSecond = -1;
}
}
if (playlist_current_ptr) {