From d8e1c7c779dc943484839187e2db3d287094ff68 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Sat, 14 Dec 2019 21:32:48 +0100 Subject: [PATCH] filter-transform: Restore compatibility with 24.0.3 and earlier --- source/filters/filter-transform.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/source/filters/filter-transform.cpp b/source/filters/filter-transform.cpp index 26055354..b4956f73 100644 --- a/source/filters/filter-transform.cpp +++ b/source/filters/filter-transform.cpp @@ -403,11 +403,9 @@ filter::transform::transform_factory::transform_factory() { _info.id = "obs-stream-effects-filter-transform"; _info.type = OBS_SOURCE_TYPE_FILTER; - _info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW; + _info.output_flags = OBS_SOURCE_VIDEO; - _info.get_width = _info.get_height = nullptr; - - obs_register_source(&_info); + finish_setup(); } filter::transform::transform_factory::~transform_factory() {}