text-freetype2: Fix not updating chat log mode property

(cherry picked from commit 43f7c8c928)
This commit is contained in:
Norihiro Kamae 2023-06-17 23:07:37 +09:00 • committed by Lain
commit eae2affc09

View file

@ -376,7 +376,10 @@ static void ft2_source_update(void *data, obs_data_t *settings)
srcdata->log_lines = log_lines;
vbuf_needs_update = true;
}
srcdata->log_mode = chat_log_mode;
if (srcdata->log_mode != chat_log_mode) {
srcdata->log_mode = chat_log_mode;
vbuf_needs_update = true;
}
if (ft2_lib == NULL)
goto error;