openbsd-ports/multimedia/gstreamer1/plugins-base/patches/patch-ext_cdparanoia_gstcdparanoiasrc_c
2012-09-06 13:00:53 +00:00

25 lines
896 B
Plaintext

$OpenBSD: patch-ext_cdparanoia_gstcdparanoiasrc_c,v 1.1.1.1 2012/09/06 13:00:53 ajacoutot Exp $
Our cdparanoia version does not have cache control.
--- ext/cdparanoia/gstcdparanoiasrc.c.orig Sat May 26 20:07:05 2012
+++ ext/cdparanoia/gstcdparanoiasrc.c Wed Sep 5 10:30:03 2012
@@ -257,17 +257,6 @@ gst_cd_paranoia_src_open (GstAudioCdSrc * audiocdsrc,
GST_INFO_OBJECT (src, "search overlap set to %u", src->search_overlap);
}
- cache_size = src->cache_size;
- if (cache_size == -1) {
- /* if paranoia mode is low (the default), assume we're doing playback */
- if (src->paranoia_mode <= PARANOIA_MODE_FRAGMENT)
- cache_size = 150;
- else
- cache_size = paranoia_cachemodel_size (src->p, -1);
- }
- paranoia_cachemodel_size (src->p, cache_size);
- GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size);
-
src->next_sector = -1;
return TRUE;