From 04c5ad651d3cd0a72af72077ebebf697a435d6ee Mon Sep 17 00:00:00 2001 From: Laszlo Pandy Date: Wed, 13 Aug 2008 12:11:34 +0000 Subject: ext/pulse/pulsemixer.c: Fix property probing after the device property is set by calling set_server when the server p... Original commit message from CVS: Patch by: Laszlo Pandy * 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. --- ext/pulse/pulsemixer.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ext/pulse') 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: -- cgit