[vlc-commits] core: increase file-caching

Thomas Guillem git at videolan.org
Mon Jan 20 11:15:45 CET 2020


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 26 11:31:45 2019 +0100| [7b2a03b6257f26fc9823bdf2b204fd225e6f3421] | committer: Thomas Guillem

core: increase file-caching

Forward-port of vlc-3.0.git: 576b4da8d674d8a98dd493e9b343f1875efde047
It's either this patch or my more complicated decoder latency branch. I think
this patch is safer.

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.git/?a=commit;h=7b2a03b6257f26fc9823bdf2b204fd225e6f3421
---

 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 1b85e8702b..1e733662cf 100644
--- a/src/libvlc-module.c
+++ b/src/libvlc-module.c
@@ -1965,7 +1965,7 @@ vlc_module_begin ()
 
     set_section( N_( "Advanced" ), NULL )
 
-    add_integer( "file-caching", MS_FROM_VLC_TICK(DEFAULT_PTS_DELAY),
+    add_integer( "file-caching", 1000,
                  CACHING_TEXT, CACHING_LONGTEXT, true )
         change_integer_range( 0, 60000 )
         change_safe()



More information about the vlc-commits mailing list