mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-24 10:14:13 -05:00
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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user