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.
This commit is contained in:
Laszlo Pandy 2008-08-13 12:11:34 +00:00 committed by Sebastian Dröge
parent 397da5daf0
commit 04c5ad651d
2 changed files with 12 additions and 4 deletions

View file

@ -1,3 +1,11 @@
2008-08-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
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>

View file

@ -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: