diff --git a/source/filters/filter-displacement.cpp b/source/filters/filter-displacement.cpp index 587708f5..b1b8c720 100644 --- a/source/filters/filter-displacement.cpp +++ b/source/filters/filter-displacement.cpp @@ -126,11 +126,9 @@ filter::displacement::displacement_factory::displacement_factory() { _info.id = "obs-stream-effects-filter-displacement"; _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::displacement::displacement_factory::~displacement_factory() {}