diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2013-09-30 14:42:55 +0200 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2013-09-30 14:42:55 +0200 |
commit | f210244a1c131e73ed9deaf1dc33c011d7a5bd30 (patch) | |
tree | 4abe48566c2f66619cd1df4051ed84b929b7f5e7 /audio/out | |
parent | c000a08de2d967aff85d0c19b3e8dd3e762a76c2 (diff) | |
download | mpv-f210244a1c131e73ed9deaf1dc33c011d7a5bd30.tar.bz2 mpv-f210244a1c131e73ed9deaf1dc33c011d7a5bd30.tar.xz |
ao_jack: don’t force exact client name
Trying to connect multiple mpv clients to JACK with the
JackUseExactName option would fail unless the user manually
specifies a unique client name. This changes the behavior
to automatically generate a unique name if the requested
one is already in use.
Diffstat (limited to 'audio/out')
-rw-r--r-- | audio/out/ao_jack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_jack.c b/audio/out/ao_jack.c index b1f105248f..035df4ff8f 100644 --- a/audio/out/ao_jack.c +++ b/audio/out/ao_jack.c @@ -169,7 +169,7 @@ static int init(struct ao *ao) struct priv *p = ao->priv; const char **matching_ports = NULL; char *port_name = p->cfg_port && p->cfg_port[0] ? p->cfg_port : NULL; - jack_options_t open_options = JackUseExactName; + jack_options_t open_options = JackNullOption; int port_flags = JackPortIsInput; int i; |