summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog8
-rw-r--r--ext/pulse/pulsemixer.c8
2 files changed, 12 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index c17c6250..5236d608 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,14 @@
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
+ * ext/pulse/pulsemixer.c: (gst_pulsemixer_set_property):
+ Fix property probing after the device property is set by calling
+ set_server when the server property changes. Fixes bug #547518.
+
+2008-08-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
+
* ext/pulse/pulsesink.c: (gst_pulsesink_interface_supported),
(gst_pulsesink_implements_interface_init),
(gst_pulsesink_init_interfaces), (gst_pulsesink_init),
diff --git a/ext/pulse/pulsemixer.c b/ext/pulse/pulsemixer.c
index edd3bb25..a8e2cda2 100644
--- a/ext/pulse/pulsemixer.c
+++ b/ext/pulse/pulsemixer.c
@@ -207,15 +207,15 @@ gst_pulsemixer_set_property (GObject * object,
case PROP_SERVER:
g_free (this->server);
this->server = g_value_dup_string (value);
+
+ if (this->probe)
+ gst_pulseprobe_set_server (this->probe, this->server);
+
break;
case PROP_DEVICE:
g_free (this->device);
this->device = g_value_dup_string (value);
-
- if (this->probe)
- gst_pulseprobe_set_server (this->probe, this->device);
-
break;
default: