diff options
Diffstat (limited to 'ext/jack/gstjackbin.c')
-rw-r--r-- | ext/jack/gstjackbin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/jack/gstjackbin.c b/ext/jack/gstjackbin.c index 64aab499..52222b65 100644 --- a/ext/jack/gstjackbin.c +++ b/ext/jack/gstjackbin.c @@ -160,14 +160,14 @@ gst_jack_bin_change_state (GstElement *element) l = this->src_pads; while (l) { pad = GST_JACK_PAD (l); - g_message ("jack: registering output port %s (peer %s)", pad->name, pad->peer_name); + g_message ("jack: registering input port %s (peer %s)", pad->name, pad->peer_name); pad->port = jack_port_register (this->client, pad->name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsInput|JackPortIsTerminal, 0); l = g_list_next (l); } l = this->sink_pads; while (l) { pad = GST_JACK_PAD (l); - g_message ("jack: registering input port %s (peer %s)", pad->name, pad->peer_name); + g_message ("jack: registering output port %s (peer %s)", pad->name, pad->peer_name); pad->port = jack_port_register (this->client, pad->name, JACK_DEFAULT_AUDIO_TYPE, JackPortIsOutput|JackPortIsTerminal, 0); l = g_list_next (l); } @@ -184,8 +184,8 @@ gst_jack_bin_change_state (GstElement *element) l = this->src_pads; while (l) { pad = GST_JACK_PAD (l); - g_message ("connecting gst jack port %s to jack port %s", jack_port_name (pad->port), pad->peer_name); - if (jack_connect (this->client, jack_port_name (pad->port), pad->peer_name)) { + g_message ("connecting jack port %s to gst jack port %s", pad->peer_name, jack_port_name (pad->port)); + if (jack_connect (this->client, pad->peer_name, jack_port_name (pad->port))) { g_warning ("jack: could not connect %s and %s", pad->peer_name, jack_port_name (pad->port)); return GST_STATE_FAILURE; } |