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
..
2024-02-01 09:19:47 +01:00
2024-08-05 16:13:02 +02:00
2024-03-01 00:51:39 +01:00
2024-06-09 18:27:30 +02:00
2024-03-01 00:52:13 +01:00
2024-07-11 12:04:09 +02:00
2024-09-13 22:02:25 +02:00
2024-09-11 15:41:29 +02:00
2024-09-13 22:02:25 +02:00
2024-06-23 19:15:45 +02:00
2024-09-12 11:06:13 +02:00
2023-03-30 20:58:33 +02:00
2023-03-03 01:18:10 +01:00
2023-03-10 22:22:15 +01:00
2023-11-23 23:34:46 +01:00
2024-07-11 12:04:09 +02:00
2024-07-11 12:04:09 +02:00
2023-03-11 15:57:25 +01:00
2023-03-11 15:57:25 +01:00
2024-09-11 15:41:49 +02:00
2024-09-11 15:41:29 +02:00
2024-06-29 13:10:45 +02:00
2023-03-10 22:22:15 +01:00
2024-03-01 00:52:00 +01:00
2024-03-01 00:52:00 +01:00
2024-05-11 17:12:00 +02:00
2023-03-10 22:22:15 +01:00
2022-01-27 19:02:07 +01:00
2024-06-29 13:10:45 +02:00
2022-04-12 23:59:01 +02:00
2024-07-11 12:04:09 +02:00
2023-10-24 23:06:57 +02:00
2024-06-29 12:42:19 +02:00
2024-06-29 12:42:19 +02:00
2022-03-30 12:01:01 +02:00
2024-07-19 17:48:39 +02:00
2024-09-13 22:02:25 +02:00
2023-02-11 09:44:33 +01:00
2023-02-11 09:44:33 +01:00
2023-11-23 23:34:46 +01:00
2023-11-23 23:34:46 +01:00
2024-07-19 17:48:39 +02:00
2024-09-13 19:48:55 +02:00
2024-09-13 22:02:25 +02:00
2024-09-13 22:02:25 +02:00
2024-06-29 13:10:45 +02:00
2023-03-11 15:57:25 +01:00
2022-02-09 10:15:19 +01:00