[client,common] add command line gfx frame-ack option
expose the option to turn on or off the GFX frame ACK sending.
This commit is contained in:
parent
c6b7b87f8f
commit
4d79cf2848
@ -2245,6 +2245,15 @@ static int parse_gfx_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_
|
||||
rc = COMMAND_LINE_ERROR;
|
||||
}
|
||||
}
|
||||
else if (option_starts_with("frame-ack", val))
|
||||
{
|
||||
const PARSE_ON_OFF_RESULT bval = parse_on_off_option(val);
|
||||
if (bval == PARSE_FAIL)
|
||||
rc = COMMAND_LINE_ERROR_UNEXPECTED_VALUE;
|
||||
else if (!freerdp_settings_set_bool(settings, FreeRDP_GfxSuspendFrameAck,
|
||||
bval != PARSE_OFF))
|
||||
rc = COMMAND_LINE_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
if ((rc == CHANNEL_RC_OK) && codecSelected)
|
||||
|
@ -202,7 +202,7 @@ static const COMMAND_LINE_ARGUMENT_A global_cmd_args[] = {
|
||||
{ "gfx", COMMAND_LINE_VALUE_OPTIONAL,
|
||||
"[[progressive[:on|off]|RFX[:on|off]|AVC420[:on|off]AVC444[:on|off]],mask:<value>,small-"
|
||||
"cache[:on|off],thin-client[:on|off],progressive[:on|"
|
||||
"off]]",
|
||||
"off],frame-ack[:on|off]]",
|
||||
NULL, NULL, -1, NULL, "RDP8 graphics pipeline" },
|
||||
#if defined(WITH_FREERDP_DEPRECATED_COMMANDLINE)
|
||||
{ "gfx-h264", COMMAND_LINE_VALUE_OPTIONAL, "[[AVC420|AVC444],mask:<value>]", NULL, NULL, -1,
|
||||
|
Loading…
Reference in New Issue
Block a user