mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-19 06:24:19 +01:00
Add --camera-fps
Add a new option for specifying the camera frame rate. By default, Android's default frame rate (30 fps) is used. PR #4213 <https://github.com/Genymobile/scrcpy/pull/4213> Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
committed by
Romain Vimont
parent
928f8b8eb3
commit
4722bff423
@@ -308,6 +308,9 @@ execute_server(struct sc_server *server,
|
||||
if (params->camera_ar) {
|
||||
ADD_PARAM("camera_ar=%s", params->camera_ar);
|
||||
}
|
||||
if (params->camera_fps) {
|
||||
ADD_PARAM("camera_fps=%" PRIu16, params->camera_fps);
|
||||
}
|
||||
if (params->show_touches) {
|
||||
ADD_PARAM("show_touches=true");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user