]> git.sesse.net Git - vlc/commit
Fix video delay when using alsa or oss as slaves
authorAntoine Cellerier <dionoea@videolan.org>
Fri, 17 Jul 2009 12:57:00 +0000 (14:57 +0200)
committerAntoine Cellerier <dionoea@videolan.org>
Fri, 17 Jul 2009 12:57:00 +0000 (14:57 +0200)
commit3d9fc4219740a4f826c77d37db4ed2688c5ef73d
tree13970b9bc05ffbcee69dbc430750adda7b9f1b89
parent0151e40d1d849570f576588a1fab85a04653c250
Fix video delay when using alsa or oss as slaves

Decrease poll delay from 0.5 to 0.01 seconds in alsa in oss, else the
audio input would block the video input when used as an input slave.
Other accesses likely to be used as input slaves might need to be
changed. An easier solution (module-wise, harder core wise) would be to
run each slave in its own thread.
modules/access/alsa.c
modules/access/oss.c