forked from openlp/openlp
fix vsize bug
This commit is contained in:
parent
4f08c25b6b
commit
00b83b5c7d
@ -642,6 +642,7 @@ class CaptureVideoDirectShowWidget(CaptureVideoQtDetectWidget):
|
|||||||
for i in range(self.video_devices_combo_box.count()):
|
for i in range(self.video_devices_combo_box.count()):
|
||||||
if self.video_devices_combo_box.itemText(i) == vdev.group(1):
|
if self.video_devices_combo_box.itemText(i) == vdev.group(1):
|
||||||
self.video_devices_combo_box.setCurrentIndex(i)
|
self.video_devices_combo_box.setCurrentIndex(i)
|
||||||
|
if vsize:
|
||||||
self.video_size_lineedit.setText(vsize.group(1))
|
self.video_size_lineedit.setText(vsize.group(1))
|
||||||
break
|
break
|
||||||
adev = re.search(r'"dshow-adev=(.+)"', options)
|
adev = re.search(r'"dshow-adev=(.+)"', options)
|
||||||
|
Loading…
Reference in New Issue
Block a user