From bb21d940bfc700fb0f9021f9a8ad536322cd6948 Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Fri, 24 Apr 2020 03:54:30 +0200 Subject: [PATCH] project: Fix virtual overrides not using the correct type --- source/filters/filter-sdf-effects.cpp | 2 +- source/filters/filter-sdf-effects.hpp | 2 +- source/filters/filter-transform.cpp | 2 +- source/filters/filter-transform.hpp | 2 +- source/sources/source-mirror.hpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source/filters/filter-sdf-effects.cpp b/source/filters/filter-sdf-effects.cpp index 5780837f..e5326958 100644 --- a/source/filters/filter-sdf-effects.cpp +++ b/source/filters/filter-sdf-effects.cpp @@ -259,7 +259,7 @@ void sdf_effects_instance::update(obs_data_t* data) _sdf_threshold = float_t(obs_data_get_double(data, ST_SDF_THRESHOLD) / 100.0); } -void sdf_effects_instance::video_tick(float) +void sdf_effects_instance::video_tick(float_t) { if (obs_source_t* target = obs_filter_get_target(_self); target != nullptr) { _source_rendered = false; diff --git a/source/filters/filter-sdf-effects.hpp b/source/filters/filter-sdf-effects.hpp index e0cc16bf..cfa2f9a8 100644 --- a/source/filters/filter-sdf-effects.hpp +++ b/source/filters/filter-sdf-effects.hpp @@ -89,7 +89,7 @@ namespace streamfx::filter::sdf_effects { virtual void migrate(obs_data_t* data, std::uint64_t version) override; virtual void update(obs_data_t* settings) override; - virtual void video_tick(float) override; + virtual void video_tick(float_t) override; virtual void video_render(gs_effect_t*) override; }; diff --git a/source/filters/filter-transform.cpp b/source/filters/filter-transform.cpp index e6d3482b..7c0cc373 100644 --- a/source/filters/filter-transform.cpp +++ b/source/filters/filter-transform.cpp @@ -156,7 +156,7 @@ void transform_instance::update(obs_data_t* settings) _update_mesh = true; } -void transform_instance::video_tick(float) +void transform_instance::video_tick(float_t) { std::uint32_t width = 0; std::uint32_t height = 0; diff --git a/source/filters/filter-transform.hpp b/source/filters/filter-transform.hpp index b93543ef..9e54a659 100644 --- a/source/filters/filter-transform.hpp +++ b/source/filters/filter-transform.hpp @@ -68,7 +68,7 @@ namespace streamfx::filter::transform { virtual void migrate(obs_data_t* data, std::uint64_t version) override; virtual void update(obs_data_t*) override; - virtual void video_tick(float) override; + virtual void video_tick(float_t) override; virtual void video_render(gs_effect_t*) override; }; diff --git a/source/sources/source-mirror.hpp b/source/sources/source-mirror.hpp index 497cc48a..6ae7557a 100644 --- a/source/sources/source-mirror.hpp +++ b/source/sources/source-mirror.hpp @@ -66,7 +66,7 @@ namespace streamfx::source::mirror { virtual void update(obs_data_t*) override; virtual void save(obs_data_t*) override; - virtual void video_tick(float) override; + virtual void video_tick(float_t) override; virtual void video_render(gs_effect_t*) override; virtual void enum_active_sources(obs_source_enum_proc_t, void*) override;