[Pkg-gstreamer-commits] [SCM] GStreamer Good Plugins 0.10 Packaging branch, master, updated. debian/0.10.31-2-2-g22162ae

Sjoerd Simons sjoerd at luon.net
Tue May 22 08:26:24 UTC 2012


The following commit has been merged in the master branch:
commit 042752d321b91cce31bd2a122223c43e60dd9d1a
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Tue May 22 10:09:55 2012 +0200

    d/p/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
    
    * d/p/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
      + Added. Listen to the right type of events in pulsesrc for volume and mute
        changes. (From upstream git)

diff --git a/debian/changelog b/debian/changelog
index 4a33545..14f07bd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+gst-plugins-good0.10 (0.10.31-3) UNRELEASED; urgency=low
+
+  * d/p/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
+    + Added. Listen to the right type of events in pulsesrc for volume and mute
+      changes. (From upstream git)
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Tue, 22 May 2012 10:07:23 +0200
+
 gst-plugins-good0.10 (0.10.31-2) unstable; urgency=low
 
   * debian/build-deps.in:
diff --git a/debian/patches/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch b/debian/patches/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
new file mode 100644
index 0000000..ba52054
--- /dev/null
+++ b/debian/patches/0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
@@ -0,0 +1,25 @@
+From c5196f6b1bf67b21d91d87a06f07934276558d89 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Mon, 21 May 2012 11:47:07 +0200
+Subject: [PATCH] pulsesrc: Listen to source output events, not sink input
+
+---
+ ext/pulse/pulsesrc.c |    2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c
+index b4afe37..995b533 100644
+--- a/ext/pulse/pulsesrc.c
++++ b/ext/pulse/pulsesrc.c
+@@ -1338,7 +1338,7 @@ gst_pulsesrc_prepare (GstAudioSrc * asrc, GstAudioRingBufferSpec * spec)
+   /* enable event notifications */
+   GST_LOG_OBJECT (pulsesrc, "subscribing to context events");
+   if (!(o = pa_context_subscribe (pulsesrc->context,
+-              PA_SUBSCRIPTION_MASK_SINK_INPUT, NULL, NULL))) {
++              PA_SUBSCRIPTION_MASK_SOURCE_OUTPUT, NULL, NULL))) {
+     GST_ELEMENT_ERROR (pulsesrc, RESOURCE, FAILED,
+         ("pa_context_subscribe() failed: %s",
+             pa_strerror (pa_context_errno (pulsesrc->context))), (NULL));
+-- 
+1.7.10
+
diff --git a/debian/patches/series b/debian/patches/series
index 2497acb..0273540 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+0001-pulsesrc-Listen-to-source-output-events-not-sink-inp.patch
 99_ltmain_as-needed.patch

-- 
GStreamer Good Plugins 0.10 Packaging



More information about the Pkg-gstreamer-commits mailing list