fix: 适配3.0.2的锁定采集方向

This commit is contained in:
barry 2024-12-06 23:43:53 +08:00
parent 9fa4b6672c
commit d0d6356f37
2 changed files with 5 additions and 2 deletions

@ -1 +1 @@
Subproject commit 81647c6a17f34d9a4344bcf1f048badeac435e54
Subproject commit eb8b7837b18d4d2c13276d90884feb7f1c37d7ba

View file

@ -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();