- //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);