Skip to content

Display and control your Android device

Remove deprecated option --render-expired-frames

Romain Vimont551277740461
diff --git a/app/src/cli.c b/app/src/cli.c
index 8a0b6aa4..fc5f0a2f 100644
--- a/app/src/cli.c
+++ b/app/src/cli.c
@@ -18,8 +18,7 @@
#define STR(x) STR_IMPL_(x)
enum {
- OPT_RENDER_EXPIRED_FRAMES = 1000,
- OPT_BIT_RATE,
+ OPT_BIT_RATE = 1000,
OPT_WINDOW_TITLE,
OPT_PUSH_TARGET,
OPT_ALWAYS_ON_TOP,
@@ -471,11 +470,6 @@ static const struct sc_option options[] = {
"\"opengles2\", \"opengles\", \"metal\" and \"software\".\n"
"<https://wiki.libsdl.org/SDL_HINT_RENDER_DRIVER>",
},
- {
- // deprecated
- .longopt_id = OPT_RENDER_EXPIRED_FRAMES,
- .longopt = "render-expired-frames",
- },
{
.longopt_id = OPT_REQUIRE_AUDIO,
.longopt = "require-audio",
@@ -1660,10 +1654,6 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
case 'w':
opts->stay_awake = true;
break;
- case OPT_RENDER_EXPIRED_FRAMES:
- LOGW("Option --render-expired-frames has been removed. This "
- "flag has been ignored.");
- break;
case OPT_WINDOW_TITLE:
opts->window_title = optarg;
break;