[vlc-commits] commit: v4l2: revert to default caching (Pierre Ynard )

git at videolan.org git at videolan.org
Tue Nov 2 00:26:14 CET 2010


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Nov  2 00:23:09 2010 +0100| [93bf290591b021670a0985db5059eb5b8cab2d36] | committer: Pierre Ynard 

v4l2: revert to default caching

A too short delay causes issues with late packets being dropped by the
stream output. This reverts 32e94ee0822a43ad541d03c86263f7adcb6a7c50

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

 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 0148797..a97aa53 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -300,7 +300,7 @@ vlc_module_begin ()
     add_string( CFG_PREFIX "aspect-ratio", "4:3", ASPECT_TEXT,
               ASPECT_LONGTEXT, true )
     add_float( CFG_PREFIX "fps", 0, FPS_TEXT, FPS_LONGTEXT, true )
-    add_integer( CFG_PREFIX "caching", 50 /* ms */,
+    add_integer( CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000,
                 CACHING_TEXT, CACHING_LONGTEXT, true )
 #ifdef HAVE_LIBV4L2
     add_bool( CFG_PREFIX "use-libv4l2", false, LIBV4L2_TEXT, LIBV4L2_LONGTEXT, true );



More information about the vlc-commits mailing list