[vlc-commits] commit: v4l2: revert to default caching (Pierre Ynard )
git at videolan.org
git at videolan.org
Tue Nov 2 01:49:15 CET 2010
vlc/vlc-1.1 | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Tue Nov 2 01:48:49 2010 +0100| [3585382d0a536b04cdaee97e2c835c8a5267ed8e] | 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/vlc-1.1.git/?a=commit;h=3585382d0a536b04cdaee97e2c835c8a5267ed8e
---
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 791cccf..4259a61 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", NULL, ASPECT_TEXT,
ASPECT_LONGTEXT, true )
add_float( CFG_PREFIX "fps", 0, NULL, FPS_TEXT, FPS_LONGTEXT, true )
- add_integer( CFG_PREFIX "caching", 50 /* ms */, NULL,
+ add_integer( CFG_PREFIX "caching", DEFAULT_PTS_DELAY / 1000, 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-commits
mailing list