1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix video not loading when A/V tab shown

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2015-06-29 01:06:56 +02:00 committed by tux3
parent 4f0a517531
commit 3e8fe2db6c
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -177,8 +177,6 @@ void AVForm::updateVideoModes(int curIndex)
}
}
}
}
void AVForm::onVideoDevChanged(int index)
@ -248,6 +246,9 @@ void AVForm::getVideoDevices()
bodyUI->videoDevCombobox->setCurrentIndex(videoDevIndex);
bodyUI->videoDevCombobox->blockSignals(false);
updateVideoModes(videoDevIndex);
QString devName = videoDeviceList[videoDevIndex].first;
camera.open(devName);
}
void AVForm::getAudioInDevices()