mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
@@ -2554,10 +2554,14 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
||||
|
||||
if (_strnicmp("AVC444", val, 7) == 0)
|
||||
{
|
||||
settings->GfxH264 = TRUE;
|
||||
settings->GfxAVC444 = TRUE;
|
||||
}
|
||||
else if (_strnicmp("AVC420", val, 7) != 0)
|
||||
rc = COMMAND_LINE_ERROR;
|
||||
else if (_strnicmp("AVC420", val, 7) == 0)
|
||||
{
|
||||
settings->GfxH264 = TRUE;
|
||||
settings->GfxAVC444 = FALSE;
|
||||
}
|
||||
else if (_strnicmp("mask:", val, 5) == 0)
|
||||
{
|
||||
ULONGLONG v;
|
||||
@@ -2567,6 +2571,8 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
||||
else
|
||||
settings->GfxCapsFilter = (UINT32)v;
|
||||
}
|
||||
else
|
||||
rc = COMMAND_LINE_ERROR;
|
||||
}
|
||||
}
|
||||
free(p);
|
||||
|
||||
@@ -159,8 +159,9 @@ static const COMMAND_LINE_ARGUMENT_A args[] = {
|
||||
#ifdef WITH_GFX_H264
|
||||
{ "gfx", COMMAND_LINE_VALUE_OPTIONAL, "[[RFX|AVC420|AVC444],mask:<value>]", NULL, NULL, -1,
|
||||
NULL, "RDP8 graphics pipeline" },
|
||||
{ "gfx-h264", COMMAND_LINE_VALUE_OPTIONAL, "[[AVC420|AVC444],mask:<value>]", NULL, NULL, -1,
|
||||
NULL, "RDP8.1 graphics pipeline using H264 codec" },
|
||||
{ "gfx-h264", COMMAND_LINE_VALUE_OPTIONAL,
|
||||
"[[AVC420|AVC444],mask:<value>] [DEPRECATED] use /gfx:avc420 instead", NULL, NULL, -1, NULL,
|
||||
"RDP8.1 graphics pipeline using H264 codec" },
|
||||
#else
|
||||
{ "gfx", COMMAND_LINE_VALUE_OPTIONAL, "RFX", NULL, NULL, -1, NULL, "RDP8 graphics pipeline" },
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user