ext/alsa/gstalsamixer.c: Correct logic of dispose function (see #129306).
Original commit message from CVS: 2004-01-03 Thomas Canty <tommydal@optushome.com.au> reviewed by: Ronald Bultje <rbultje@ronald.bitfreak.net> * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose): Correct logic of dispose function (see #129306).
This commit is contained in:
parent
1d7359030d
commit
a22237f480
@ -1,3 +1,10 @@
|
||||
2004-01-03 Thomas Canty <tommydal@optushome.com.au>
|
||||
|
||||
reviewed by: Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_dispose):
|
||||
Correct logic of dispose function (see #129306).
|
||||
|
||||
2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_parse_pes):
|
||||
|
@ -171,7 +171,7 @@ gst_alsa_mixer_dispose (GObject * object)
|
||||
{
|
||||
GstAlsaMixer *mixer = GST_ALSA_MIXER (object);
|
||||
|
||||
if (((gint) mixer->mixer_handle) != -1) return;
|
||||
if (((gint) mixer->mixer_handle) == -1) return;
|
||||
|
||||
snd_mixer_close (mixer->mixer_handle);
|
||||
mixer->mixer_handle = (snd_mixer_t *) -1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user