mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
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:
parent
397da5daf0
commit
04c5ad651d
2 changed files with 12 additions and 4 deletions
|
@ -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>
|
2008-08-13 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
|
Patch by: Laszlo Pandy <laszlok2 at gmail dot com>
|
||||||
|
|
|
@ -207,15 +207,15 @@ gst_pulsemixer_set_property (GObject * object,
|
||||||
case PROP_SERVER:
|
case PROP_SERVER:
|
||||||
g_free (this->server);
|
g_free (this->server);
|
||||||
this->server = g_value_dup_string (value);
|
this->server = g_value_dup_string (value);
|
||||||
|
|
||||||
|
if (this->probe)
|
||||||
|
gst_pulseprobe_set_server (this->probe, this->server);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case PROP_DEVICE:
|
case PROP_DEVICE:
|
||||||
g_free (this->device);
|
g_free (this->device);
|
||||||
this->device = g_value_dup_string (value);
|
this->device = g_value_dup_string (value);
|
||||||
|
|
||||||
if (this->probe)
|
|
||||||
gst_pulseprobe_set_server (this->probe, this->device);
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue