Skip to content

Commit

Permalink
perf: ✨ Update to scrcpy v2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Nov 26, 2023
1 parent ae96df0 commit 9e4f432
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 14 deletions.
Binary file modified electron/resources/extra/win/scrcpy/SDL2.dll
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/avcodec-60.dll
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/avformat-60.dll
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/avutil-58.dll
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/scrcpy-server
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/scrcpy.exe
Binary file not shown.
Binary file modified electron/resources/extra/win/scrcpy/swresample-4.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions src/locales/languages/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@
"preferences.video.video-code.placeholder": "h.264",
"preferences.video.refresh-rate.name": "Frame Rate",
"preferences.video.refresh-rate.placeholder": "60",
"preferences.video.screen-rotation.name": "Rotation",
"preferences.video.screen-rotation.placeholder": "Device rotation",
"preferences.video.display-orientation.name": "Display Orientation",
"preferences.video.display-orientation.placeholder": "Device orientation",
"preferences.video.screen-cropping.name": "Crop",
"preferences.video.screen-cropping.placeholder": "No crop, format: 1224:1440:0:0",
"preferences.video.display.name": "Display",
Expand Down
4 changes: 2 additions & 2 deletions src/locales/languages/zh_CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
"preferences.video.refresh-rate.placeholder": "60",
"preferences.video.video-code.name": "视频编码",
"preferences.video.video-code.placeholder": "h.264",
"preferences.video.screen-rotation.name": "屏幕旋转",
"preferences.video.screen-rotation.placeholder": "设备屏幕旋转角度",
"preferences.video.display-orientation.name": "显示方向",
"preferences.video.display-orientation.placeholder": "设备显示方向",
"preferences.video.screen-cropping.name": "屏幕裁剪",
"preferences.video.screen-cropping.placeholder": "不裁剪,格式:1224:1440:0:0",
"preferences.video.display.name": "显示器",
Expand Down
6 changes: 3 additions & 3 deletions src/store/preference/model/record/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export default {
placeholder: 'preferences.record.lock-video-orientation.placeholder',
options: [
{ label: '0°', value: '0' },
{ label: '-90°', value: '1' },
{ label: '180°', value: '2' },
{ label: '90°', value: '3' },
{ label: '90°', value: '90' },
{ label: '180°', value: '180' },
{ label: '270°', value: '270' },
],
},
timeLimit: {
Expand Down
18 changes: 11 additions & 7 deletions src/store/preference/model/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,21 @@ export default {
field: '--video-encoder',
value: undefined,
},
rotation: {
label: 'preferences.video.screen-rotation.name',
field: '--rotation',
displayOrientation: {
label: 'preferences.video.display-orientation.name',
field: '--display-orientation',
type: 'Select',
value: undefined,
placeholder: 'preferences.video.screen-rotation.placeholder',
placeholder: 'preferences.video.display-orientation.placeholder',
options: [
{ label: '0°', value: '0' },
{ label: '-90°', value: '1' },
{ label: '180°', value: '2' },
{ label: '90°', value: '3' },
{ label: '90°', value: '90' },
{ label: '180°', value: '180' },
{ label: '270°', value: '270' },
{ label: 'flip-0°', value: 'flip0' },
{ label: 'flip-90°', value: 'flip90' },
{ label: 'flip-180°', value: 'flip180' },
{ label: 'flip-270°', value: 'flip270' },
],
},
crop: {
Expand Down

0 comments on commit 9e4f432

Please sign in to comment.