[gst-cvs] gst-plugins-good: pulsesink: fix compilation for newer pulseaudio

Wim Taymans wtay at kemper.freedesktop.org
Thu Apr 9 09:06:48 PDT 2009


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

Author: Wim Taymans <wim.taymans at collabora.co.uk>
Date:   Thu Apr  9 18:07:38 2009 +0200

pulsesink: fix compilation for newer pulseaudio

---

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

diff --git a/ext/pulse/pulsesink.c b/ext/pulse/pulsesink.c
index b569915..384f537 100644
--- a/ext/pulse/pulsesink.c
+++ b/ext/pulse/pulsesink.c
@@ -315,7 +315,7 @@ gst_pulsering_context_subscribe_cb (pa_context * c,
       t != (PA_SUBSCRIPTION_EVENT_SINK_INPUT | PA_SUBSCRIPTION_EVENT_NEW))
     return;
 
-  if (!psink->stream)
+  if (!pbuf->stream)
     return;
 
   if (idx != pa_stream_get_index (pbuf->stream))
@@ -361,7 +361,7 @@ gst_pulseringbuffer_open_device (GstRingBuffer * buf)
   pa_context_set_state_callback (pbuf->context,
       gst_pulsering_context_state_cb, pbuf);
 #if HAVE_PULSE_0_9_12
-  pa_context_set_subscribe_callback (psink->context,
+  pa_context_set_subscribe_callback (pbuf->context,
       gst_pulsering_context_subscribe_cb, pbuf);
 #endif
 





More information about the Gstreamer-commits mailing list