nv-filters: Silence initial load error for Blur

On initial run of the Blur filter, some parameters are not all set when
there is the first call to load the effect. This is actually not an
issue, so the log is now silenced at this time.

Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
pkv
2025-03-17 16:25:58 -04:00
committed by Ryan Foster
parent cc452e5acd
commit f6f5c7bb25
+1 -3
View File
@@ -144,10 +144,8 @@ static void nvvfx_filter_update(void *data, obs_data_t *settings)
if (filter->strength != strength) {
filter->strength = strength;
vfxErr = NvVFX_SetF32(filter->handle_blur, NVVFX_STRENGTH, filter->strength);
vfxErr = NvVFX_Load(filter->handle_blur);
}
vfxErr = NvVFX_Load(filter->handle_blur);
if (NVCV_SUCCESS != vfxErr)
error("Error loading blur FX %i", vfxErr);
}
}