[vlc-devel] [RFC PATCH] accesstweaks: add force-cache option
Rémi Denis-Courmont
remi at remlab.net
Thu Oct 22 12:32:35 CEST 2015
Le 2015-10-22 10:32, Thomas Guillem a écrit :
> Rémi, do you mean something like that ?
No, I meant that you can turn off fast seek. But it turns out it's too
far downstream to affect caching so it won't work.
Regardless, I don't see much point having a setting here. On the one
hand, cache_read can be tested already without any new setting. On the
other hand, neither prefetch nor cache_block can be tested effectively
even with a forced cache:
- cache_block requires a block-based access,
- prefetch requires control on the timing of the underlying access so
that the test cases are reproducible (*).
(*) TCP access on loopback, or file access on a FIFO might work. I am
not sure.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list