mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
ext/alsa/gstalsamixer.c: Don't break on options (fixes #156488).
Original commit message from CVS: * ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list): Don't break on options (fixes #156488).
This commit is contained in:
parent
aa204cddf0
commit
febc9b6120
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-10-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||||
|
|
||||||
|
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_build_list):
|
||||||
|
Don't break on options (fixes #156488).
|
||||||
|
|
||||||
2004-10-27 Thomas Vander Stichele <thomas at apestaart dot org>
|
2004-10-27 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -280,9 +280,15 @@ gst_alsa_mixer_build_list (GstAlsaMixer * mixer)
|
||||||
|
|
||||||
/* prevent dup names */
|
/* prevent dup names */
|
||||||
for (item = mixer->tracklist; item != NULL; item = item->next) {
|
for (item = mixer->tracklist; item != NULL; item = item->next) {
|
||||||
|
snd_mixer_elem_t *temp;
|
||||||
|
|
||||||
|
if (GST_IS_ALSA_MIXER_OPTIONS (item->data))
|
||||||
|
temp = GST_ALSA_MIXER_OPTIONS (item->data)->element;
|
||||||
|
else
|
||||||
|
temp = GST_ALSA_MIXER_TRACK (item->data)->element;
|
||||||
|
|
||||||
if (!strcmp (snd_mixer_selem_get_name (element),
|
if (!strcmp (snd_mixer_selem_get_name (element),
|
||||||
snd_mixer_selem_get_name (GST_ALSA_MIXER_TRACK (item->data)->
|
snd_mixer_selem_get_name (element)))
|
||||||
element)))
|
|
||||||
samename++;
|
samename++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue