Browse Source

obs-text: Use custom draw flag

Fixes filters while preserving premult alpha
Colin Edwards 6 years ago
parent
commit
33e4de5be6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/obs-text/gdiplus/obs-text.cpp

+ 1 - 1
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*)