summaryrefslogtreecommitdiffstats
path: root/ext/jack/gstjack.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2009-03-16 11:21:02 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2009-03-23 17:07:16 +0100
commit13bc8b8c03d3a8291ef75c0c89b16079e084c174 (patch)
tree641ddfbcc15e1a18dea72a3a9195bdea34b2aa96 /ext/jack/gstjack.c
parent276228da806728723fecde73b539c0c33863d761 (diff)
downloadgst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.tar.gz
gst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.tar.bz2
gst-plugins-bad-13bc8b8c03d3a8291ef75c0c89b16079e084c174.zip
jack: Add new connection mode
Add a new connection mode to jacksrc and jacksink. In this new auto-force connection mode jack will create as many ports as requested/needed in the pipeline and will then connect as many physical ports as possible, possibly leaving some ports unconnected. Also get rid of some leftover g_print. Fixes #575284.
Diffstat (limited to 'ext/jack/gstjack.c')
-rw-r--r--ext/jack/gstjack.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/jack/gstjack.c b/ext/jack/gstjack.c
index 96afd06e..08302501 100644
--- a/ext/jack/gstjack.c
+++ b/ext/jack/gstjack.c
@@ -33,6 +33,9 @@ gst_jack_connect_get_type (void)
"Don't automatically connect ports to physical ports", "none"},
{GST_JACK_CONNECT_AUTO,
"Automatically connect ports to physical ports", "auto"},
+ {GST_JACK_CONNECT_AUTO_FORCED,
+ "Automatically connect ports to as many physical ports as possible",
+ "auto-forced"},
{0, NULL, NULL},
};