diff --git a/client/common/test/TestClientRdpFile.c b/client/common/test/TestClientRdpFile.c index 39a7da79d..a2d956df7 100644 --- a/client/common/test/TestClientRdpFile.c +++ b/client/common/test/TestClientRdpFile.c @@ -416,6 +416,12 @@ static bool test_data(const char* json, const void* data, size_t len, bool unche if (!settings || !expect) goto fail; +#ifndef WITH_GFX_H264 + if (!freerdp_settings_set_bool(expect, FreeRDP_GfxH264, FALSE) || + !freerdp_settings_set_bool(expect, FreeRDP_GfxAVC444, FALSE) || + !freerdp_settings_set_bool(expect, FreeRDP_GfxAVC444v2, FALSE)) + goto fail; +#endif wLog* log = WLog_Get(__func__); WLog_Print(log, WLOG_INFO, "Test cast '%s'", json); if (freerdp_settings_print_diff(log, WLOG_ERROR, expect, settings))