Make it work on the BBB
[matches/MCTX3420.git] / server / image.c
index 81c692b..05a587e 100644 (file)
@@ -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};
 

UCC git Repository :: git.ucc.asn.au