Mercurial > mplayer.hg
changeset 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 | 86b2ec222a2c |
children | 90e5f5c28304 |
files | stream/stream_cdda.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
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)