aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-plugins
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2009-08-10 05:20:48 +0800
committermarcus <marcus@FreeBSD.org>2009-08-10 05:20:48 +0800
commitfeeae4c96ce338b88359d0c89a0bb7fe2f3ca9ff (patch)
tree48e527abae36da6153b365eb06bd2423c29fe920 /multimedia/gstreamer-plugins
parent0262747bb5117fb76cd84b31d8af9cb71f959031 (diff)
downloadfreebsd-ports-gnome-feeae4c96ce338b88359d0c89a0bb7fe2f3ca9ff.tar.gz
freebsd-ports-gnome-feeae4c96ce338b88359d0c89a0bb7fe2f3ca9ff.tar.zst
freebsd-ports-gnome-feeae4c96ce338b88359d0c89a0bb7fe2f3ca9ff.zip
Since we are still on cdparanoia-III-9.8, we don't have cache control.
Make sure we don't reference undefined symbols.
Diffstat (limited to 'multimedia/gstreamer-plugins')
-rw-r--r--multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c b/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
new file mode 100644
index 000000000000..6d0fa67b9a28
--- /dev/null
+++ b/multimedia/gstreamer-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
@@ -0,0 +1,18 @@
+--- ext/cdparanoia/gstcdparanoiasrc.c.orig 2009-08-09 17:16:48.000000000 -0400
++++ ext/cdparanoia/gstcdparanoiasrc.c 2009-08-09 17:17:38.000000000 -0400
+@@ -264,6 +264,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+ GST_INFO_OBJECT (src, "search overlap set to %u", src->search_overlap);
+ }
+
++#ifdef PARANOIA_CB_CACHEERR
+ cache_size = src->cache_size;
+ if (cache_size == -1) {
+ /* if paranoia mode is low (the default), assume we're doing playback */
+@@ -274,6 +275,7 @@ gst_cd_paranoia_src_open (GstCddaBaseSrc
+ }
+ paranoia_cachemodel_size (src->p, cache_size);
+ GST_INFO_OBJECT (src, "set cachemodel size to %u", cache_size);
++#endif
+
+ src->next_sector = -1;
+