[vlc-commits] core: increase file-caching

Thomas Guillem git at videolan.org
Wed Nov 27 10:19:47 CET 2019


vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 26 11:31:45 2019 +0100| [576b4da8d674d8a98dd493e9b343f1875efde047] | committer: Thomas Guillem

core: increase file-caching

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

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=576b4da8d674d8a98dd493e9b343f1875efde047
---

 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()



More information about the vlc-commits mailing list