mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
open up the interface if capsnego is called and we're in NULL this happens if caps can be determined before the pipel...
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
This commit is contained in:
parent
79362752f8
commit
2d27dab7da
1 changed files with 2 additions and 1 deletions
|
@ -734,6 +734,7 @@ gst_alsa_negotiate(GstPad *pad, GstCaps **caps, gpointer *user_data)
|
|||
// have we got caps?
|
||||
else if (*caps) {
|
||||
if (this->handle == NULL)
|
||||
if (!gst_alsa_open_audio(this))
|
||||
return GST_PAD_NEGOTIATE_FAIL;
|
||||
|
||||
if (gst_alsa_parse_caps(this, *caps)) {
|
||||
|
|
Loading…
Reference in a new issue