X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fimage.c;h=05a587ea129283dbe5249812678abbfea4a8ba5b;hb=a9bbebcd9a85982320208184570c0e0976fc2f43;hp=81c692ba2043ab6d417e6ec83daa1da23e11f38e;hpb=ff5831931c289cd740609eaad0d36d768751a6d3;p=matches%2FMCTX3420.git diff --git a/server/image.c b/server/image.c index 81c692b..05a587e 100644 --- a/server/image.c +++ b/server/image.c @@ -8,7 +8,7 @@ void Image_Handler(FCGIContext * context, const char * params) { static CvCapture * capture = NULL; if (capture == NULL) - capture = cvCreateCameraCapture(-1); + capture = cvCreateCameraCapture(0); static int p[] = {CV_IMWRITE_JPEG_QUALITY, 100, 0};