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:
182596b
)
pulsesrc: Listen to source output events, not sink input
author
Sjoerd Simons
<sjoerd@luon.net>
Mon, 21 May 2012 09:47:07 +0000
(11:47 +0200)
committer
Sjoerd Simons
<sjoerd@luon.net>
Mon, 21 May 2012 09:57:17 +0000
(11:57 +0200)
ext/pulse/pulsesrc.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesrc.c
b/ext/pulse/pulsesrc.c
index
b4afe37
..
995b533
100644
(file)
--- 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_S
INK_IN
PUT, NULL, NULL))) {
+ PA_SUBSCRIPTION_MASK_S
OURCE_OUT
PUT, NULL, NULL))) {
GST_ELEMENT_ERROR (pulsesrc, RESOURCE, FAILED,
("pa_context_subscribe() failed: %s",
pa_strerror (pa_context_errno (pulsesrc->context))), (NULL));