]> git.sesse.net Git - vlc/commit
JACK input support for jack2
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Mon, 8 Jun 2009 16:05:29 +0000 (18:05 +0200)
committerChristophe Mutricy <xtophe@videolan.org>
Mon, 4 Jan 2010 22:47:00 +0000 (22:47 +0000)
commit59113a3ae815ce6c1599d058170624ed1519397b
tree2df220a8ded442c0e8f62d48fdebbd2458d15114
parentb998f491d1958f0121492ec87c7fa9fc682d6c54
JACK input support for jack2

When you try to capture from JACK, this is only possible with the
"oldstyle" jackd-0.x. If you want to use the newer, SMP-capable jack2,
the VLC inputs cannot be connected:

Cannot connect ports owned by inactive clients: "vlc-input-26611" is not
active
Cannot connect ports owned by inactive clients: "vlc-input-26611" is not
active

Unlike jack1, jack2 expects the process callback function to return 0.

The attached patch fixes this problem. It's been already fixed the same
way in the jack output plugin (see modules/audio_output/jack.c:290).

Taken from Debian bug #532339
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=532339)

Signed-off-by: Christophe Mutricy <xtophe@videolan.org>
modules/access/jack.c