Original commit message from CVS:
Patch by: Brian Cameron <brian.cameron at sun dot com>
* sys/sunaudio/gstsunaudiomixerctrl.c:
(gst_sunaudiomixer_ctrl_open):
Set the mixer fd before calling ioctl() on it. Fixes bug #563414.
2008-12-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ Patch by: Brian Cameron <brian.cameron at sun dot com>
+
+ * sys/sunaudio/gstsunaudiomixerctrl.c:
+ (gst_sunaudiomixer_ctrl_open):
+ Set the mixer fd before calling ioctl() on it. Fixes bug #563414.
+
+2008-12-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
Patch by: Alexandre Rostovtsev <tetromino at gmail dot com>
* configure.ac:
return FALSE;
}
+ mixer->mixer_fd = fd;
+
/* Try to set the multiple open flag if we can, but ignore errors */
ioctl (mixer->mixer_fd, AUDIO_MIXER_MULTIPLE_OPEN);
- mixer->mixer_fd = fd;
return TRUE;
}