openbsd-ports/x11/mplayer/patches/patch-stream_stream_cdda_c
ajacoutot 4fe7f3c025 Update to mplayer-20150910.
from Brad (maintainer)
2015-09-10 08:31:36 +00:00

16 lines
689 B
Plaintext

$OpenBSD: patch-stream_stream_cdda_c,v 1.3 2015/09/10 08:31:36 ajacoutot Exp $
--- stream/stream_cdda.c.orig Thu Sep 10 03:13:55 2015
+++ stream/stream_cdda.c Thu Sep 10 03:18:41 2015
@@ -451,9 +451,11 @@ static int open_cdda(stream_t *st,int m, void* opts, i
else if(p->search_overlap == 0)
mode &= ~PARANOIA_MODE_OVERLAP;
#ifndef CONFIG_LIBCDIO
+#if 0
// HACK against libcdparanoia's stupid caching model that
// queues up a huge number of requests leading to stuttering
paranoia_cachemodel_size(priv->cdp, 24);
+#endif
// For some incomprehensible reason cdparanoia breaks the
// track->sector lookup of calling paranoia_modeset with
// PARANOIA_MODE_DISABLE