mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-10 22:05:06 +00:00
project: Adjust object Ids and add proxies for compatibility
This commit is contained in:
parent
203581f30c
commit
ee0a69bbf0
11 changed files with 22 additions and 11 deletions
|
@ -561,12 +561,13 @@ void blur_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
blur_factory::blur_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-blur";
|
||||
_info.id = PREFIX "filter-blur";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-blur");
|
||||
}
|
||||
|
||||
blur_factory::~blur_factory() {}
|
||||
|
|
|
@ -274,12 +274,13 @@ void color_grade_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
color_grade_factory::color_grade_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-color-grade";
|
||||
_info.id = PREFIX "filter-color-grade";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-color-grade");
|
||||
}
|
||||
|
||||
color_grade_factory::~color_grade_factory() {}
|
||||
|
|
|
@ -123,12 +123,13 @@ std::string displacement_instance::get_file()
|
|||
|
||||
displacement_factory::displacement_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-displacement";
|
||||
_info.id = PREFIX "filter-displacement";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-displacement");
|
||||
}
|
||||
|
||||
displacement_factory::~displacement_factory() {}
|
||||
|
|
|
@ -346,12 +346,13 @@ void dynamic_mask_instance::video_render(gs_effect_t* in_effect)
|
|||
|
||||
dynamic_mask_factory::dynamic_mask_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-dynamic-mask";
|
||||
_info.id = PREFIX "filter-dynamic-mask";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-dynamic-mask");
|
||||
}
|
||||
|
||||
dynamic_mask_factory::~dynamic_mask_factory() {}
|
||||
|
|
|
@ -626,12 +626,13 @@ face_tracking_factory::face_tracking_factory()
|
|||
}
|
||||
|
||||
// Info
|
||||
_info.id = "streamfx-nvidia-face-tracking";
|
||||
_info.id = PREFIX "filter-nvidia-face-tracking";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("streamfx-nvidia-face-tracking");
|
||||
}
|
||||
|
||||
face_tracking_factory::~face_tracking_factory() {}
|
||||
|
|
|
@ -520,12 +520,13 @@ void sdf_effects_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
sdf_effects_factory::sdf_effects_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-sdf-effects";
|
||||
_info.id = PREFIX "filter-sdf-effects";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-sdf-effects");
|
||||
}
|
||||
|
||||
sdf_effects_factory::~sdf_effects_factory() {}
|
||||
|
|
|
@ -136,11 +136,12 @@ void shader_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
shader_factory::shader_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-shader";
|
||||
_info.id = PREFIX "filter-shader";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-shader");
|
||||
}
|
||||
|
||||
shader_factory::~shader_factory() {}
|
||||
|
|
|
@ -439,12 +439,13 @@ void transform_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
transform_factory::transform_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-filter-transform";
|
||||
_info.id = PREFIX "filter-transform";
|
||||
_info.type = OBS_SOURCE_TYPE_FILTER;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO;
|
||||
|
||||
set_resolution_enabled(false);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-filter-transform");
|
||||
}
|
||||
|
||||
transform_factory::~transform_factory() {}
|
||||
|
|
|
@ -268,13 +268,14 @@ void mirror_instance::audio_output(std::shared_ptr<void> data)
|
|||
|
||||
mirror_factory::mirror_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-source-mirror";
|
||||
_info.id = PREFIX "source-mirror";
|
||||
_info.type = OBS_SOURCE_TYPE_INPUT;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW | OBS_SOURCE_AUDIO;
|
||||
|
||||
set_have_active_child_sources(true);
|
||||
set_have_child_sources(true);
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-source-mirror");
|
||||
}
|
||||
|
||||
mirror_factory::~mirror_factory() {}
|
||||
|
|
|
@ -90,11 +90,12 @@ void shader_instance::video_render(gs_effect_t* effect)
|
|||
|
||||
shader_factory::shader_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-source-shader";
|
||||
_info.id = PREFIX "source-shader";
|
||||
_info.type = OBS_SOURCE_TYPE_INPUT;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-source-shader");
|
||||
}
|
||||
|
||||
shader_factory::~shader_factory() {}
|
||||
|
|
|
@ -116,11 +116,12 @@ void shader_instance::transition_stop() {}
|
|||
|
||||
shader_factory::shader_factory()
|
||||
{
|
||||
_info.id = "obs-stream-effects-transition-shader";
|
||||
_info.id = PREFIX "transition-shader";
|
||||
_info.type = OBS_SOURCE_TYPE_TRANSITION;
|
||||
_info.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW;
|
||||
|
||||
finish_setup();
|
||||
register_proxy("obs-stream-effects-transition-shader");
|
||||
}
|
||||
|
||||
shader_factory::~shader_factory() {}
|
||||
|
|
Loading…
Reference in a new issue