[vlc-devel] commit: Fix video delay when using alsa or oss as slaves ( Antoine Cellerier )
fenrir at via.ecp.fr
Fri Jul 17 18:54:26 CEST 2009
On Fri, Jul 17, 2009, git version control wrote:
> vlc | branch: master | Antoine Cellerier <dionoea at videolan.org> | Fri Jul 17 14:57:00 2009 +0200| [3d9fc4219740a4f826c77d37db4ed2688c5ef73d] | committer: Antoine Cellerier
> 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.
It's now simple (access_demux only), you just need to not define the pf_demux (set
it to NULL) and send your data from a thread you create yourself in Open() and
terminate in Close().
Becareful that Control() can and will still be called (so outside of your thread).
More information about the vlc-devel