pacho 15/01/19 11:15:29
Added: gst-plugins-base-0.10.36-gcc-4.9.patch
gst-plugins-base-0.10.36-resync-ringbuffer.patch
Log:
Fix compilation with gcc-4.9 (#529962 by Martin Väth and Stephan Hartmann),
fix hang during gapless transition (#520090 by Georg Rudoy), drop old
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key
A188FBD4)
Revision Changes Path
1.1
media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-gcc-4.9.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-gcc-4.9.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-gcc-4.9.patch?rev=1.1&content-type=text/plain
Index: gst-plugins-base-0.10.36-gcc-4.9.patch
===================================================================
--- 1/gst/audioresample/resample.c
+++ 1/gst/audioresample/resample.c
@@ -77,13 +77,13 @@
#define EXPORT G_GNUC_INTERNAL
#ifdef _USE_SSE
-#ifndef HAVE_XMMINTRIN_H
+#if !defined(__SSE__) || !defined(HAVE_XMMINTRIN_H)
#undef _USE_SSE
#endif
#endif
#ifdef _USE_SSE2
-#ifndef HAVE_EMMINTRIN_H
+#if !defined(__SSE2__) || !defined(HAVE_EMMINTRIN_H)
#undef _USE_SSE2
#endif
#endif
1.1
media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-resync-ringbuffer.patch
file :
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-resync-ringbuffer.patch?rev=1.1&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/gst-plugins-base/files/gst-plugins-base-0.10.36-resync-ringbuffer.patch?rev=1.1&content-type=text/plain
Index: gst-plugins-base-0.10.36-resync-ringbuffer.patch
===================================================================
--- a/gst-libs/gst/audio/gstbaseaudiosink.c
+++ b/gst-libs/gst/audio/gstbaseaudiosink.c
@@ -921,6 +921,12 @@
if (!gst_ring_buffer_acquire (sink->ringbuffer, spec))
goto acquire_error;
+ /* We need to resync since the ringbuffer restarted */
+ sink->priv->avg_skew = -1;
+ sink->next_sample = -1;
+ sink->priv->eos_time = -1;
+ sink->priv->discont_time = -1;
+
if (bsink->pad_mode == GST_ACTIVATE_PUSH) {
GST_DEBUG_OBJECT (sink, "activate ringbuffer");
gst_ring_buffer_activate (sink->ringbuffer, TRUE);