diff --git a/source/filter-transform.cpp b/source/filter-transform.cpp index dcffd9eb..e95d5e79 100644 --- a/source/filter-transform.cpp +++ b/source/filter-transform.cpp @@ -332,6 +332,16 @@ filter::Transform::Transform(obs_data_t* data, obs_source_t* context) update(data); } +uint32_t filter::Transform::get_width() +{ + return 0; +} + +uint32_t filter::Transform::get_height() +{ + return 0; +} + void filter::Transform::update(obs_data_t* data) { // Camera @@ -361,16 +371,6 @@ void filter::Transform::update(obs_data_t* data) is_mesh_update_required = true; } -uint32_t filter::Transform::get_width() -{ - return 0; -} - -uint32_t filter::Transform::get_height() -{ - return 0; -} - void filter::Transform::activate() { is_inactive = false; diff --git a/source/filter-transform.hpp b/source/filter-transform.hpp index 5030b7d6..a45a2fca 100644 --- a/source/filter-transform.hpp +++ b/source/filter-transform.hpp @@ -87,9 +87,10 @@ namespace filter { ~Transform(); Transform(obs_data_t*, obs_source_t*); - void update(obs_data_t*); uint32_t get_width(); uint32_t get_height(); + + void update(obs_data_t*); void activate(); void deactivate(); void video_tick(float);