projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d58de1
)
pulsesink: fix compilation for newer pulseaudio
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 9 Apr 2009 16:07:38 +0000
(18:07 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Thu, 9 Apr 2009 16:07:38 +0000
(18:07 +0200)
ext/pulse/pulsesink.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesink.c
b/ext/pulse/pulsesink.c
index b5699150bb16e30ad730701bd7b38bf78fea6ecf..384f537cde28ff85557f32d54adb868518bda9b9 100644
(file)
--- 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 (!p
sink
->stream)
+ if (!p
buf
->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 (p
sink
->context,
+ pa_context_set_subscribe_callback (p
buf
->context,
gst_pulsering_context_subscribe_cb, pbuf);
#endif