alsa: Ignore errors when unpreparing or closing the device
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 4 Apr 2010 19:18:04 +0000 (21:18 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Sun, 4 Apr 2010 19:18:04 +0000 (21:18 +0200)
commit44e474f76d5fbcf94080e4fa0b95bf0dbd25edd3
tree6b5ee3f2c21e0f9d802dd5129444efa6431c8aaf
parent1e8f3f768953cf4a4eeaab2fd76409f61d9f0009
alsa: Ignore errors when unpreparing or closing the device

Errors could happen here when the device was removed already
or when something is broken anyway. If errors happen here and
they're propagated, the element can't shutdown cleanly.

Fixes bug #614545.
ext/alsa/gstalsasink.c
ext/alsa/gstalsasrc.c