mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
ext/alsa/gstalsasink.c: Ignore errors in reset, these are not fatal. They also grab the element lock which is already...
Original commit message from CVS: * ext/alsa/gstalsasink.c: (gst_alsasink_reset): Ignore errors in reset, these are not fatal. They also grab the element lock which is already taking when this function is called. Fixes #405451.
This commit is contained in:
parent
c6ced31578
commit
70e52caf04
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
2007-02-15 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/alsa/gstalsasink.c: (gst_alsasink_reset):
|
||||
Ignore errors in reset, these are not fatal. They also grab the element
|
||||
lock which is already taking when this function is called. Fixes
|
||||
#405451.
|
||||
|
||||
2007-02-13 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* configure.ac:
|
||||
|
|
|
@ -851,15 +851,15 @@ gst_alsasink_reset (GstAudioSink * asink)
|
|||
/* ERRORS */
|
||||
drop_error:
|
||||
{
|
||||
GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS,
|
||||
("alsa-reset: pcm drop error: %s", snd_strerror (err)), (NULL));
|
||||
GST_ERROR_OBJECT (alsa, "alsa-reset: pcm drop error: %s",
|
||||
snd_strerror (err));
|
||||
GST_ALSA_UNLOCK (asink);
|
||||
return;
|
||||
}
|
||||
prepare_error:
|
||||
{
|
||||
GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS,
|
||||
("alsa-reset: pcm prepare error: %s", snd_strerror (err)), (NULL));
|
||||
GST_ERROR_OBJECT (alsa, "alsa-reset: pcm prepare error: %s",
|
||||
snd_strerror (err));
|
||||
GST_ALSA_UNLOCK (asink);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue