ext/alsa/gstalsamixer.c: Less uglyness..

Original commit message from CVS:
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Less uglyness..
This commit is contained in:
Wim Taymans 2006-08-14 10:50:15 +00:00
parent 1ed9de2f68
commit 4b10da5bce
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2006-08-14 Wim Taymans <wim@fluendo.com>
* ext/alsa/gstalsamixer.c: (gst_alsa_mixer_open):
Less uglyness..
2006-08-14 Wim Taymans <wim@fluendo.com> 2006-08-14 Wim Taymans <wim@fluendo.com>
* ext/ogg/gstoggdemux.c: (gst_ogg_demux_submit_buffer), * ext/ogg/gstoggdemux.c: (gst_ogg_demux_submit_buffer),

View file

@ -93,8 +93,8 @@ gst_alsa_mixer_open (GstAlsaMixer * mixer)
GST_DEBUG ("Card name = %s", GST_STR_NULL (mixer->cardname)); GST_DEBUG ("Card name = %s", GST_STR_NULL (mixer->cardname));
snd_ctl_close (ctl); snd_ctl_close (ctl);
if (FALSE) { no_card_name:
no_card_name: if (mixer->cardname == NULL) {
mixer->cardname = g_strdup ("Unknown"); mixer->cardname = g_strdup ("Unknown");
GST_DEBUG ("Cannot find card name"); GST_DEBUG ("Cannot find card name");
} }