diff --git a/modules/highgui/src/cap_dshow.cpp b/modules/highgui/src/cap_dshow.cpp index 1a92b514f..16bcef32e 100644 --- a/modules/highgui/src/cap_dshow.cpp +++ b/modules/highgui/src/cap_dshow.cpp @@ -754,14 +754,14 @@ videoDevice::videoDevice(){ width = 0; height = 0; - tryWidth = 0; - tryHeight = 0; + tryWidth = 640; + tryHeight = 480; tryVideoType = MEDIASUBTYPE_RGB24; nFramesForReconnect= 10000; nFramesRunning = 0; myID = -1; - tryDiffSize = false; + tryDiffSize = true; useCrossbar = false; readyToCapture = false; sizeSet = false;