freebsd-ports/multimedia/gstreamer1-plugins/files/patch-ext_cdparanoia_gstcdparanoiasrc.c
Koop Mast 05d2886d27 Add Gstreamer 1.0.7. This is the new stable version of the
Gstreamer multimedia framework.

Use the USE_GSTREAMER1 macro to select Gstreamer 1.0 plugins. A new chapter
for the porters handbook about gstreamer is a work in progress.

X related plugins are now stand alone. The gio plugin is now part of the
gstreamer1-plugins port and the oss plugins are now part of the
gstreamer1-plugins-good port.

Note that the pulseaudio plugin is missing because it needs a newer version
of pulseaudio. Also there are still a number of plugins from -bad which
haven't been ported to the 1.0 API yet.
2013-04-27 20:56:38 +00:00

18 lines
686 B
C

--- 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;