filter-transform: Restore compatibility with 24.0.3 and earlier

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-12-14 21:32:48 +01:00
parent b311d79e50
commit d8e1c7c779

View file

@ -403,11 +403,9 @@ filter::transform::transform_factory::transform_factory()
{ {
_info.id = "obs-stream-effects-filter-transform"; _info.id = "obs-stream-effects-filter-transform";
_info.type = OBS_SOURCE_TYPE_FILTER; _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; finish_setup();
obs_register_source(&_info);
} }
filter::transform::transform_factory::~transform_factory() {} filter::transform::transform_factory::~transform_factory() {}