diff --git a/QtScrcpy/QtScrcpyCore b/QtScrcpy/QtScrcpyCore index 81647c6a..eb8b7837 160000 --- a/QtScrcpy/QtScrcpyCore +++ b/QtScrcpy/QtScrcpyCore @@ -1 +1 @@ -Subproject commit 81647c6a17f34d9a4344bcf1f048badeac435e54 +Subproject commit eb8b7837b18d4d2c13276d90884feb7f1c37d7ba diff --git a/QtScrcpy/ui/dialog.cpp b/QtScrcpy/ui/dialog.cpp index dfedcfb6..493060c9 100644 --- a/QtScrcpy/ui/dialog.cpp +++ b/QtScrcpy/ui/dialog.cpp @@ -311,7 +311,10 @@ void Dialog::on_startServerBtn_clicked() params.useReverse = ui->useReverseCheck->isChecked(); params.display = !ui->notDisplayCheck->isChecked(); params.renderExpiredFrames = Config::getInstance().getRenderExpiredFrames(); - params.lockVideoOrientation = ui->lockOrientationBox->currentIndex() - 1; + if (ui->lockOrientationBox->currentIndex() > 0) { + params.captureOrientationLock = 1; + params.captureOrientation = (ui->lockOrientationBox->currentIndex() - 1) * 90; + } params.stayAwake = ui->stayAwakeCheck->isChecked(); params.recordFile = ui->recordScreenCheck->isChecked(); params.recordPath = ui->recordPathEdt->text().trimmed();