diff --git a/CMakeLists.txt b/CMakeLists.txt index 9844326..da95dc7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ else() cmake_minimum_required(VERSION 3.18) endif() -project(move-transition VERSION 2.6.3) +project(move-transition VERSION 2.6.4) set(PROJECT_FULL_NAME "Move Transition") # Set new UUIDs when you start to create a new plugin. diff --git a/buildspec.json b/buildspec.json index ac8681b..2363f77 100644 --- a/buildspec.json +++ b/buildspec.json @@ -79,5 +79,5 @@ } }, "name": "move-transition", - "version": "2.6.3" + "version": "2.6.4" } diff --git a/move-source-filter.c b/move-source-filter.c index 7ef58ce..2690cf1 100644 --- a/move-source-filter.c +++ b/move-source-filter.c @@ -980,12 +980,7 @@ void prop_list_add_move_source_filter(obs_source_t *parent, obs_source_t *child, void *data) { UNUSED_PARAMETER(parent); - if (strcmp(obs_source_get_unversioned_id(child), - MOVE_SOURCE_FILTER_ID) != 0 && - strcmp(obs_source_get_unversioned_id(child), - MOVE_VALUE_FILTER_ID) != 0 && - strcmp(obs_source_get_unversioned_id(child), - MOVE_AUDIO_VALUE_FILTER_ID) != 0) + if (!is_move_filter(obs_source_get_unversioned_id(child))) return; obs_property_t *p = data; const char *name = obs_source_get_name(child);