X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=server%2Fimage.c;h=a32ac2cdcb7996bc1f072cb536312ff95a9812da;hb=065c9fe701140a12e8d827afa287b4db47be5e97;hp=d19ee7a9b26ccd594de45f3ce55ae9bf1b446510;hpb=6f3369862370d744055eb9a60876b8dc29d51611;p=matches%2FMCTX3420.git diff --git a/server/image.c b/server/image.c index d19ee7a..a32ac2c 100644 --- a/server/image.c +++ b/server/image.c @@ -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);