1
#! /bin/sh /usr/share/dpatch/dpatch-run
2
## <0>_<webcam-server-0.50-camera.c>.dpatch by <me@lucabedogni.it>
4
## All lines beginning with `## DP:' are a description of the patch.
5
## DP: <Fix a problem with certain types of webcams>
9
--- webcam-server-0.50/src/camera.c 2004-09-28 08:40:58.000000000 +0200
10
+++ webcam-server-0.50/src/camera.c 2006-09-03 12:01:56.000000000 +0200
12
perror ("ioctl (VIDIOCSPICT)");
15
+ cam->vid_win.flags = 0;
16
if (ioctl (cam->dev, VIDIOCSWIN, &cam->vid_win) == -1) {
17
perror ("ioctl (VIDIOCSWIN)");