[MPlayer-cvslog] r33557 - trunk/stream/stream_cdda.c
reimar
subversion at mplayerhq.hu
Sat Jun 4 12:27:51 CEST 2011
Author: reimar
Date: Sat Jun 4 12:27:45 2011
New Revision: 33557
Log:
Constrain libcdparanoia's caching which badly breaks playback with -nocache.
Switching to libcdio by default which does not have this issue might be a
better long-term solution though.
Modified:
trunk/stream/stream_cdda.c
Modified: trunk/stream/stream_cdda.c
==============================================================================
--- trunk/stream/stream_cdda.c Sat Jun 4 11:30:42 2011 (r33556)
+++ trunk/stream/stream_cdda.c Sat Jun 4 12:27:45 2011 (r33557)
@@ -419,6 +419,9 @@ static int open_cdda(stream_t *st,int m,
if(p->no_skip)
mode |= PARANOIA_MODE_NEVERSKIP;
#ifndef CONFIG_LIBCDIO
+ // 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(p->search_overlap >= 0)
More information about the MPlayer-cvslog
mailing list