# HG changeset patch # User ib # Date 1325081652 0 # Node ID 9b11eb048fcab5ff2eaa5af8006fdf3243315781 # Parent 010725c3b6c83e13774c380a838a8e5cb523d02f Don't call paranoia_modeset() for PARANOIA_MODE_DISABLE. cdparanoia destroys start sector information after such a call. Since it is pointless without setting a mode anyway, don't do it. diff -r 010725c3b6c8 -r 9b11eb048fca stream/stream_cdda.c --- a/stream/stream_cdda.c Wed Dec 28 14:04:27 2011 +0000 +++ b/stream/stream_cdda.c Wed Dec 28 14:14:12 2011 +0000 @@ -431,7 +431,7 @@ // HACK against libcdparanoia's stupid caching model that // queues up a huge number of requests leading to stuttering paranoia_cachemodel_size(priv->cdp, 24); - paranoia_modeset(cdd, mode); + if (mode != PARANOIA_MODE_DISABLE) paranoia_modeset(cdd, mode); if(p->search_overlap > 0) paranoia_overlapset(cdd,p->search_overlap);