initialize 'vol' variable to prevent crashes/assertion failures trying to
2007-01-30 Jens Granseuer <jensgr@gmx.net> * actions/acme-volume-gstreamer.c: (update_state): initialize 'vol' variable to prevent crashes/assertion failures trying to set ridiculously high/low volume (fixes bug #401376) svn path=/trunk/; revision=7207
This commit is contained in:
parent
f3f24bbbc5
commit
5332e54d66
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-01-30 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* actions/acme-volume-gstreamer.c: (update_state): initialize 'vol'
|
||||||
|
variable to prevent crashes/assertion failures trying to set
|
||||||
|
ridiculously high/low volume (fixes bug #401376)
|
||||||
|
|
||||||
2007-01-29 Kjartan Maraas <kmaraas@gnome.org>
|
2007-01-29 Kjartan Maraas <kmaraas@gnome.org>
|
||||||
|
|
||||||
* gnome-settings-background.c:
|
* gnome-settings-background.c:
|
||||||
|
|
|
@ -133,7 +133,7 @@ static void
|
||||||
update_state (AcmeVolumeGStreamer * self)
|
update_state (AcmeVolumeGStreamer * self)
|
||||||
{
|
{
|
||||||
gint *volumes, n;
|
gint *volumes, n;
|
||||||
gdouble vol;
|
gdouble vol = 0;
|
||||||
GstMixerTrack *track = GST_MIXER_TRACK(self->_priv->mixer_tracks->data);
|
GstMixerTrack *track = GST_MIXER_TRACK(self->_priv->mixer_tracks->data);
|
||||||
|
|
||||||
/* update mixer by getting volume */
|
/* update mixer by getting volume */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue