[client,common] sync AVC444 and AVC444v2 settings

This commit is contained in:
Armin Novak 2023-12-20 13:53:19 +01:00 committed by akallabeth
parent 0bb3e2dc97
commit 2db9e1e258

View File

@ -1314,7 +1314,8 @@ BOOL freerdp_set_connection_type(rdpSettings* settings, UINT32 type)
return FALSE;
/* Automatically activate GFX and RFX codec support */
#ifdef WITH_GFX_H264
if (!freerdp_settings_set_bool(settings, FreeRDP_GfxAVC444, TRUE) ||
if (!freerdp_settings_set_bool(settings, FreeRDP_GfxAVC444v2, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GfxAVC444, TRUE) ||
!freerdp_settings_set_bool(settings, FreeRDP_GfxH264, TRUE))
return FALSE;
#endif
@ -2197,6 +2198,8 @@ static int parse_gfx_options(rdpSettings* settings, const COMMAND_LINE_ARGUMENT_
{
if (!freerdp_settings_set_bool(settings, FreeRDP_GfxAVC444, GfxAVC444))
rc = COMMAND_LINE_ERROR;
if (!freerdp_settings_set_bool(settings, FreeRDP_GfxAVC444v2, GfxAVC444))
rc = COMMAND_LINE_ERROR;
if (!freerdp_settings_set_bool(settings, FreeRDP_GfxH264, GfxH264))
rc = COMMAND_LINE_ERROR;
if (!freerdp_settings_set_bool(settings, FreeRDP_RemoteFxCodec, RemoteFxCodec))