]> git.sesse.net Git - vlc/commit
stream: Add a new method for buffering access: A*Immediate method.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Fri, 23 May 2008 11:28:36 +0000 (13:28 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Thu, 5 Jun 2008 17:18:50 +0000 (19:18 +0200)
commit5df2e973d079c0a43572cb9b248d226911b4cfbc
tree3111931f512e425718033a65b6e672e64a24d2ab
parent446bfcd5f40d640097b4e765ae234c47b9831d12
stream: Add a new method for buffering access: A*Immediate method.

It is much more efficient regarding latency as it doesn't bufferize more than needed, and let the module access take care of that eventually.

Enable with --use-stream-immediate. We may want to default it.

Note: --use-stream-immediate will be only effective on access that don't provide pf_block() for now. This is because I didn't benchmark against the Block method.

Here the gain that I did measure is about 200ms (less latency) when using the http access on a loopback.
src/input/stream.c
src/libvlc-module.c