diff options
author | Laszlo Pandy <laszlok2@gmail.com> | 2008-08-13 12:11:34 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-13 12:11:34 +0000 |
commit | 04c5ad651d3cd0a72af72077ebebf697a435d6ee (patch) | |
tree | b9bba28139b2d2263ce35f82d1779a82bbc7b0c1 /ext/pulse/pulsemixer.c | |
parent | 397da5daf007694488c8558471a59d7c58feb2ad (diff) |
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 <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.
Diffstat (limited to 'ext/pulse/pulsemixer.c')
-rw-r--r-- | ext/pulse/pulsemixer.c | 8 |
1 files changed, 4 insertions, 4 deletions
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: |