mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
pulsesrc: initialize the probe with the server
When creating a new probe, pass the server instead of the device string. fixes #590401
This commit is contained in:
parent
6c323f5b0d
commit
dbf4d8a910
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue