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:
6c323f5
)
pulsesrc: initialize the probe with the server
author
Jonathan Tellier
<jonathan.tellier at gmail.com>
Mon, 3 Aug 2009 11:32:12 +0000
(13:32 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Mon, 3 Aug 2009 11:32:12 +0000
(13:32 +0200)
When creating a new probe, pass the server instead of the device string.
fixes #590401
ext/pulse/pulsesrc.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesrc.c
b/ext/pulse/pulsesrc.c
index
cef1a8b
..
8b37c9c
100644
(file)
--- a/
ext/pulse/pulsesrc.c
+++ b/
ext/pulse/pulsesrc.c
@@
-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