mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
filter-displacement: Restore compatibility with 24.0.3 and earlier
This commit is contained in:
parent
a24e0d2c10
commit
af78c177ad
1 changed files with 2 additions and 4 deletions
|
@ -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() {}
|
||||||
|
|
Loading…
Reference in a new issue