mirror of https://github.com/FreeRDP/FreeRDP
Fixed gfx-h264 option parsing.
This commit is contained in:
parent
3b673be378
commit
1441e78b70
|
@ -2547,10 +2547,14 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
||||||
|
|
||||||
if (_strnicmp("AVC444", val, 7) == 0)
|
if (_strnicmp("AVC444", val, 7) == 0)
|
||||||
{
|
{
|
||||||
|
settings->GfxH264 = TRUE;
|
||||||
settings->GfxAVC444 = TRUE;
|
settings->GfxAVC444 = TRUE;
|
||||||
}
|
}
|
||||||
else if (_strnicmp("AVC420", val, 7) != 0)
|
else if (_strnicmp("AVC420", val, 7) == 0)
|
||||||
rc = COMMAND_LINE_ERROR;
|
{
|
||||||
|
settings->GfxH264 = TRUE;
|
||||||
|
settings->GfxAVC444 = FALSE;
|
||||||
|
}
|
||||||
else if (_strnicmp("mask:", val, 5) == 0)
|
else if (_strnicmp("mask:", val, 5) == 0)
|
||||||
{
|
{
|
||||||
ULONGLONG v;
|
ULONGLONG v;
|
||||||
|
@ -2560,6 +2564,8 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
|
||||||
else
|
else
|
||||||
settings->GfxCapsFilter = (UINT32)v;
|
settings->GfxCapsFilter = (UINT32)v;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
rc = COMMAND_LINE_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free(p);
|
free(p);
|
||||||
|
|
Loading…
Reference in New Issue