scrcpy/app
Romain Vimont 265a15e0b1 Accept float values for --max-fps
Android accepts a float value, there is no reason to limit the option
to be an integer.

In particular, it allows to capture at a rate lower than 1 fps. For
example, to capture 1 frame every 5 seconds:

    scrcpy --video-source=camera --max-fps=0.2

It was already possible to pass a float manually:

    scrcpy --video-source=camera \
        --video-codec-options=max-fps-to-encoder:float=0.2

But accepting a float directly for --max-fps is more convenient.

Refs <https://developer.android.com/reference/android/media/MediaFormat#KEY_MAX_FPS_TO_ENCODER>
2024-09-13 22:02:25 +02:00
..
data Add --audio-dup 2024-07-19 17:48:39 +02:00
deps Upgrade SDL (2.30.5) for Windows 2024-08-01 18:15:37 +02:00
src Accept float values for --max-fps 2024-09-13 22:02:25 +02:00
tests Simplify shortcut modifiers 2024-06-23 19:15:45 +02:00
meson.build Add UHID mouse support 2024-03-01 00:52:13 +01:00
scrcpy-windows.manifest
scrcpy-windows.rc Bump version to 2.6.1 2024-08-02 22:32:04 +02:00
scrcpy.1 Fix typos 2024-08-05 16:13:02 +02:00