[gst-cvs] gst-plugins-good: pulsesrc: initialize the probe with the server

Wim Taymans wtay at kemper.freedesktop.org
Mon Aug 3 04:37:33 PDT 2009


Module: gst-plugins-good
Branch: master
Commit: dbf4d8a9109c1ecdfbfa1e7280bdead64b121061
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=dbf4d8a9109c1ecdfbfa1e7280bdead64b121061

Author: Jonathan Tellier <jonathan.tellier at gmail.com>
Date:   Mon Aug  3 13:32:12 2009 +0200

pulsesrc: initialize the probe with the server

When creating a new probe, pass the server instead of the device string.

fixes #590401

---

 ext/pulse/pulsesrc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/pulse/pulsesrc.c b/ext/pulse/pulsesrc.c
index cef1a8b..8b37c9c 100644
--- a/ext/pulse/pulsesrc.c
+++ b/ext/pulse/pulsesrc.c
@@ -282,7 +282,7 @@ gst_pulsesrc_init (GstPulseSrc * pulsesrc, GstPulseSrcClass * klass)
 
   pulsesrc->mixer = NULL;
 
-  pulsesrc->probe = gst_pulseprobe_new (G_OBJECT (pulsesrc), G_OBJECT_GET_CLASS (pulsesrc), PROP_DEVICE, pulsesrc->device, FALSE, TRUE);        /* FALSE for sinks, TRUE for sources */
+  pulsesrc->probe = gst_pulseprobe_new (G_OBJECT (pulsesrc), G_OBJECT_GET_CLASS (pulsesrc), PROP_DEVICE, pulsesrc->server, FALSE, TRUE);        /* FALSE for sinks, TRUE for sources */
 }
 
 static void





More information about the Gstreamer-commits mailing list