[vlc-devel] commit: V4L2: shrink PTS delay ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Oct 18 15:16:22 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Oct 18 15:23:55 2009 +0300| [32e94ee0822a43ad541d03c86263f7adcb6a7c50] | committer: Rémi Denis-Courmont 

V4L2: shrink PTS delay

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=32e94ee0822a43ad541d03c86263f7adcb6a7c50
---

 modules/access/v4l2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index ae5821f..39d4d77 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -283,7 +283,7 @@ vlc_module_begin ()
     add_string( CFG_PREFIX "aspect-ratio", "4:3", NULL, ASPECT_TEXT,
               ASPECT_LONGTEXT, true )
     add_float( CFG_PREFIX "fps", 0, NULL, FPS_TEXT, FPS_LONGTEXT, true )
-    add_integer( CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000, NULL,
+    add_integer( CFG_PREFIX "caching", 50 /* ms */, NULL,
                 CACHING_TEXT, CACHING_LONGTEXT, true )
 #ifdef HAVE_LIBV4L2
     add_bool( CFG_PREFIX "use-libv4l2", false, NULL, LIBV4L2_TEXT, LIBV4L2_LONGTEXT, true );




More information about the vlc-devel mailing list