Commit 70e52caf authored by Wim Taymans's avatar Wim Taymans
Browse files

ext/alsa/gstalsasink.c: Ignore errors in reset, these are not fatal. They also...

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.
parent c6ced315
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> 2007-02-13 Stefan Kost <ensonic@users.sf.net>
   
* configure.ac: * configure.ac:
...@@ -851,15 +851,15 @@ gst_alsasink_reset (GstAudioSink * asink) ...@@ -851,15 +851,15 @@ gst_alsasink_reset (GstAudioSink * asink)
/* ERRORS */ /* ERRORS */
drop_error: drop_error:
{ {
GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS, GST_ERROR_OBJECT (alsa, "alsa-reset: pcm drop error: %s",
("alsa-reset: pcm drop error: %s", snd_strerror (err)), (NULL)); snd_strerror (err));
GST_ALSA_UNLOCK (asink); GST_ALSA_UNLOCK (asink);
return; return;
} }
prepare_error: prepare_error:
{ {
GST_ELEMENT_ERROR (alsa, RESOURCE, SETTINGS, GST_ERROR_OBJECT (alsa, "alsa-reset: pcm prepare error: %s",
("alsa-reset: pcm prepare error: %s", snd_strerror (err)), (NULL)); snd_strerror (err));
GST_ALSA_UNLOCK (asink); GST_ALSA_UNLOCK (asink);
return; return;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment