pulsesink: blocks in open() if audio device is in use
@tpm
Submitted by Tim Müller Link to original bug (#610413)
Description
When e.g. the flash plugin is hogging the audio device, trying to play a movie in totem or with gst-launch-0.10 playbin2 will just preroll and hang before starting to play, because pulseaudio seems to be blocking in the open() call or whatever, waiting for the plugin to release the device.
Instead, pulsesink should post the appropriate RESOURCE BUSY error and get on with things (so that autoaudiosink can skip to the next audiosink and try that, like alsasink in this case).
Totem just hanging at the first frame without any explanation at all is not very nice.