obs-text: Use custom draw flag

Fixes filters while preserving premult alpha
This commit is contained in:
Colin Edwards 2019-02-20 18:42:34 -06:00
parent c3711bdd5e
commit 33e4de5be6

View File

@ -969,7 +969,7 @@ bool obs_module_load(void)
obs_source_info si = {};
si.id = "text_gdiplus";
si.type = OBS_SOURCE_TYPE_INPUT;
si.output_flags = OBS_SOURCE_VIDEO;
si.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
si.get_properties = get_properties;
si.get_name = [] (void*)