From 9530d8bebf9a1259505bbe3b9ff237795bff3bee Mon Sep 17 00:00:00 2001 From: Thierry MERLE Date: Thu, 3 Jul 2008 20:41:07 +0200 Subject: v4l2-library: libv4l: update mercurial tree to latest 0.3.1 release From: Hans de Goede This patch syncs (updates) the libv4l in mercurial with (to) the latest 0.3.1 release. - Only serialize V4L2_BUF_TYPE_VIDEO_CAPTURE type ioctls - Do not return an uninitialized variable as result code for GPICT (fixes vlc, but see below) - Add an apps-patches directory which includes: * vlc-0.8.6-libv4l1.patch, modify vlc's v4l1 plugin to directly call into libv4l1, in the end we want all apps todo this as its better then LD_PRELOAD tricks, but for vlc this is needed as vlc's plugin system causes LD_PRELOAD to not work on symbols in the plugins * camorama-0.19-fixes.patch, small bugfixes to camorama's v4l1 support, this patch only fixes _real_ bugs in camorama and does not change it to work with v4l1compat. Although it does work better with these bugs fixed :) With this patch and LD_PRELOAD=/v4l1compat.so it works flawless. Signed-off-by: Hans de Goede Signed-off-by: Thierry MERLE --- v4l2-apps/lib/libv4l/libv4l1/libv4l1.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'v4l2-apps/lib/libv4l/libv4l1') diff --git a/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c b/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c index 24feafe4f..f0604e5c9 100644 --- a/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c +++ b/v4l2-apps/lib/libv4l/libv4l1/libv4l1.c @@ -532,6 +532,8 @@ int v4l1_ioctl (int fd, unsigned long int request, ...) V4L2_CID_WHITENESS); pic->brightness = v4l2_get_control(devices[index].fd, V4L2_CID_BRIGHTNESS); + + result = 0; } break; -- cgit v1.2.3