mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
fix: 适配3.0.2的锁定采集方向
This commit is contained in:
parent
9fa4b6672c
commit
d0d6356f37
2 changed files with 5 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 81647c6a17f34d9a4344bcf1f048badeac435e54
|
||||
Subproject commit eb8b7837b18d4d2c13276d90884feb7f1c37d7ba
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue