mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
pulsesrc: Listen to source output events, not sink input
This commit is contained in:
parent
182596b3ab
commit
c5196f6b1b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue