[vlc-devel] [3.0 PATCH] core: increase file-caching

Thomas Guillem thomas at gllm.fr
Tue Nov 26 11:34:51 CET 2019


Same value than the network one. In order to fix low-fps video with high cpu
count, as decided during the last technical meeting.

cf. background here:
https://mailman.videolan.org/pipermail/vlc-devel/2019-September/127432.html
---
 src/libvlc-module.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libvlc-module.c b/src/libvlc-module.c
index 0c06bc8a98..79dfb9d5ae 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1861,7 +1861,7 @@ vlc_module_begin ()
 
     set_section( N_( "Advanced" ), NULL )
 
-    add_integer( "file-caching", DEFAULT_PTS_DELAY / 1000,
+    add_integer( "file-caching", CLOCK_FREQ / 1000,
                  CACHING_TEXT, CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()
-- 
2.20.1



More information about the vlc-devel mailing list