filter-displacement: Restore compatibility with 24.0.3 and earlier

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-12-14 21:33:16 +01:00
parent a24e0d2c10
commit af78c177ad

View file

@ -126,11 +126,9 @@ filter::displacement::displacement_factory::displacement_factory()
{ {
_info.id = "obs-stream-effects-filter-displacement"; _info.id = "obs-stream-effects-filter-displacement";
_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::displacement::displacement_factory::~displacement_factory() {} filter::displacement::displacement_factory::~displacement_factory() {}