mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix camera on Windows part 2
This commit is contained in:
parent
51030d98fd
commit
d9fef21f92
|
@ -740,7 +740,7 @@ void InputController::setupCam() {
|
|||
#ifdef BUILD_QT_MULTIMEDIA
|
||||
if (!m_camera) {
|
||||
m_camera = std::make_unique<QCamera>();
|
||||
connect(m_camera.get(), &QCamera::statusChanged, this, &InputController::prepareCamSettings);
|
||||
connect(m_camera.get(), &QCamera::statusChanged, this, &InputController::prepareCamSettings, Qt::QueuedConnection);
|
||||
}
|
||||
m_camera->setCaptureMode(QCamera::CaptureVideo);
|
||||
m_camera->setViewfinder(&m_videoDumper);
|
||||
|
|
Loading…
Reference in New Issue