X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fimage.c;fp=server%2Fimage.c;h=05a587ea129283dbe5249812678abbfea4a8ba5b;hb=118d9bd329135edaf88eaf345479b17c2456a689;hp=81c692ba2043ab6d417e6ec83daa1da23e11f38e;hpb=14d73a4af10b05dd7d4d5e22f737a3684d0515cd;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};