mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Document render fit
This commit is contained in:
parent
6a20c68d79
commit
32d6a19aca
1 changed files with 22 additions and 0 deletions
|
|
@ -69,3 +69,25 @@ computer. To disable it:
|
|||
```bash
|
||||
scrcpy --disable-screensaver
|
||||
```
|
||||
|
||||
|
||||
## Render fit
|
||||
|
||||
By default, the video stream is rendered in [letterbox] mode: the content fits
|
||||
the window as best as possible while preserving the aspect ratio.
|
||||
|
||||
For [flex displays], the display is continuously resized to match the window, so
|
||||
render fit is _disabled_: the content is rendered at the top-left corner,
|
||||
without scaling.
|
||||
|
||||
It is also possible to _stretch_ the content to fit the window without
|
||||
preserving aspect ratio (`--render-fit=stretched`).
|
||||
|
||||
```bash
|
||||
scrcpy --render-fit=letterbox # default
|
||||
scrcpy --render-fit=disabled # default for flex displays
|
||||
scrcpy --render-fit=stretched
|
||||
```
|
||||
|
||||
[letterbox]: https://en.wikipedia.org/wiki/Letterboxing_(filming)
|
||||
[flex displays]: virtual_display.md#flex-display
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue