Some fixes
[matches/MCTX3420.git] / server / image.c
index d19ee7a..a32ac2c 100644 (file)
@@ -74,8 +74,8 @@ void Image_Handler(FCGIContext * context, char * params)
                g_captureID = num;
        }
 
-       //cvSetCaptureProperty(g_capture, CV_CAP_PROP_FRAME_WIDTH, width);
-       //cvSetCaptureProperty(g_capture, CV_CAP_PROP_FRAME_HEIGHT, height);
+       cvSetCaptureProperty(g_capture, CV_CAP_PROP_FRAME_WIDTH, width);
+       cvSetCaptureProperty(g_capture, CV_CAP_PROP_FRAME_HEIGHT, height);
 
        *frame = cvQueryFrame(g_capture);
        result = (*frame != NULL);

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