[vlc-devel] [PATCH 15/23] Maemo: proper defaults for V4L2 digital camera
Rémi Denis-Courmont
remi at remlab.net
Sat Oct 3 19:52:22 CEST 2009
The auto-selected resolution exceeds the overlay capacity.
---
modules/access/v4l2.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/access/v4l2.c b/modules/access/v4l2.c
index bebccd0..844c9a4 100644
--- a/modules/access/v4l2.c
+++ b/modules/access/v4l2.c
@@ -259,9 +259,9 @@ vlc_module_begin ()
add_integer( CFG_PREFIX "io", IO_METHOD_AUTO, NULL, IOMETHOD_TEXT,
IOMETHOD_LONGTEXT, true )
change_integer_list( i_iomethod_list, psz_iomethod_list_text, NULL )
- add_integer( CFG_PREFIX "width", -1, NULL, WIDTH_TEXT,
+ add_integer( CFG_PREFIX "width", 640, NULL, WIDTH_TEXT,
WIDTH_LONGTEXT, true )
- add_integer( CFG_PREFIX "height", -1, NULL, HEIGHT_TEXT,
+ add_integer( CFG_PREFIX "height", 492, NULL, HEIGHT_TEXT,
HEIGHT_LONGTEXT, true )
add_string( CFG_PREFIX "aspect-ratio", "4:3", NULL, ASPECT_TEXT,
ASPECT_LONGTEXT, true )
--
1.6.4.3
More information about the vlc-devel
mailing list