mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 08:11:16 +00:00
error output fix
Original commit message from CVS: error output fix
This commit is contained in:
parent
fa39957b55
commit
27846b7ece
1 changed files with 3 additions and 2 deletions
|
@ -1243,13 +1243,14 @@ gst_alsa_open_audio(GstAlsa *this)
|
|||
|
||||
ret = snd_output_stdio_attach(&this->out, stdout, 0);
|
||||
if (ret < 0) {
|
||||
g_print("error opening log output: %s", snd_strerror(ret));
|
||||
g_print("error opening log output: %s\n", snd_strerror(ret));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* blocking i/o */
|
||||
if ((ret = snd_pcm_open(&this->handle, this->device, this->stream, 0))) {
|
||||
g_print("error opening pcm device: %s", snd_strerror(ret));
|
||||
g_print("error opening pcm device %s: %s\n",
|
||||
this->device, snd_strerror(ret));
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue