From 33e4de5be62c4518cd47598ef8ef5f431f0d19f6 Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Wed, 20 Feb 2019 18:42:34 -0600 Subject: [PATCH] obs-text: Use custom draw flag Fixes filters while preserving premult alpha --- plugins/obs-text/gdiplus/obs-text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/obs-text/gdiplus/obs-text.cpp b/plugins/obs-text/gdiplus/obs-text.cpp index 97c70f676..d8c62ac72 100644 --- a/plugins/obs-text/gdiplus/obs-text.cpp +++ b/plugins/obs-text/gdiplus/obs-text.cpp @@ -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*)