filter-transform: Fix order of functions

This commit is contained in:
Michael Fabian 'Xaymar' Dirks 2019-01-24 04:34:59 +01:00
parent ff6176d7bc
commit 98baa0d98b
2 changed files with 12 additions and 11 deletions

View file

@ -332,6 +332,16 @@ filter::Transform::Transform(obs_data_t* data, obs_source_t* context)
update(data); 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) void filter::Transform::update(obs_data_t* data)
{ {
// Camera // Camera
@ -361,16 +371,6 @@ void filter::Transform::update(obs_data_t* data)
is_mesh_update_required = true; 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() void filter::Transform::activate()
{ {
is_inactive = false; is_inactive = false;

View file

@ -87,9 +87,10 @@ namespace filter {
~Transform(); ~Transform();
Transform(obs_data_t*, obs_source_t*); Transform(obs_data_t*, obs_source_t*);
void update(obs_data_t*);
uint32_t get_width(); uint32_t get_width();
uint32_t get_height(); uint32_t get_height();
void update(obs_data_t*);
void activate(); void activate();
void deactivate(); void deactivate();
void video_tick(float); void video_tick(float);