[common,test] Adjust AVC and H264 expectations.

Closes #11950, https://launchpad.net/bugs/2132293.
This commit is contained in:
Nathan Pratta Teodosio
2025-11-24 12:16:12 +01:00
parent 4e51477eb6
commit b9776e02ee

View File

@@ -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))