mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-11 06:15:05 +00:00
filter-blur: Restore compatibility with 24.0.3 and earlier
This commit is contained in:
parent
d8e1c7c779
commit
a24e0d2c10
1 changed files with 2 additions and 30 deletions
|
@ -545,37 +545,9 @@ filter::blur::blur_factory::blur_factory()
|
|||
{
|
||||
_info.id = "obs-stream-effects-filter-blur";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
// Strip all unnecessary callbacks.
|
||||
_info.get_width = nullptr;
|
||||
_info.get_height = nullptr;
|
||||
_info.activate = nullptr;
|
||||
_info.deactivate = nullptr;
|
||||
_info.show = nullptr;
|
||||
_info.hide = nullptr;
|
||||
_info.mouse_click = nullptr;
|
||||
_info.mouse_move = nullptr;
|
||||
_info.mouse_wheel = nullptr;
|
||||
_info.key_click = nullptr;
|
||||
_info.focus = nullptr;
|
||||
_info.filter_remove = nullptr;
|
||||
_info.enum_active_sources = nullptr;
|
||||
_info.enum_all_sources = nullptr;
|
||||
_info.transition_start = nullptr;
|
||||
_info.transition_stop = nullptr;
|
||||
_info.filter_audio = nullptr;
|
||||
_info.filter_video = nullptr;
|
||||
_info.audio_mix = nullptr;
|
||||
_info.audio_render = nullptr;
|
||||
|
||||
obs_register_source(&_info);
|
||||
|
||||
//// Translation Cache
|
||||
///// File Filter for Images
|
||||
//_translation_map.insert({std::string("image-filter"), std::string(D_TRANSLATE(S_FILETYPE_IMAGES))
|
||||
// + std::string(" (" S_FILEFILTERS_IMAGE ");;")
|
||||
// + std::string("* (*.*)")});
|
||||
finish_setup();
|
||||
}
|
||||
|
||||
filter::blur::blur_factory::~blur_factory() {}
|
||||
|
|
Loading…
Reference in a new issue