fix vsize bug

This commit is contained in:
robbiejackson 2021-05-13 10:43:55 +01:00
parent 4f08c25b6b
commit 00b83b5c7d

View File

@ -642,6 +642,7 @@ class CaptureVideoDirectShowWidget(CaptureVideoQtDetectWidget):
for i in range(self.video_devices_combo_box.count()):
if self.video_devices_combo_box.itemText(i) == vdev.group(1):
self.video_devices_combo_box.setCurrentIndex(i)
if vsize:
self.video_size_lineedit.setText(vsize.group(1))
break
adev = re.search(r'"dshow-adev=(.+)"', options)