Mercurial > mplayer.hg
diff stream/stream_cdda.c @ 33469:17519ae1f249
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.
author | reimar |
---|---|
date | Sat, 04 Jun 2011 10:27:45 +0000 |
parents | 872a1ef8b43b |
children | a958ea863ee1 |
line wrap: on
line diff
--- a/stream/stream_cdda.c Sat Jun 04 09:30:42 2011 +0000 +++ b/stream/stream_cdda.c Sat Jun 04 10:27:45 2011 +0000 @@ -419,6 +419,9 @@ 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)