Original commit message from CVS:
open up the interface if capsnego is called and we're in NULL
this happens if caps can be determined before the pipeline is running and this is
alsasink, as in afsrc ! alsasink
// have we got caps?
else if (*caps) {
if (this->handle == NULL)
- return GST_PAD_NEGOTIATE_FAIL;
+ if (!gst_alsa_open_audio(this))
+ return GST_PAD_NEGOTIATE_FAIL;
if (gst_alsa_parse_caps(this, *caps)) {
need_mmap = this->mmap_open;