From aeb889091e42c1499cfa9af8e830fe447e774bdc Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Fri, 29 Oct 2021 10:34:59 +0200 Subject: [PATCH] filter/autoframing: Remaining part of ff235b765e4d59bdab4161bbbe6b8297fb4a1203 --- source/filters/filter-autoframing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/filters/filter-autoframing.cpp b/source/filters/filter-autoframing.cpp index 5c0cdd7..c13a05e 100644 --- a/source/filters/filter-autoframing.cpp +++ b/source/filters/filter-autoframing.cpp @@ -246,7 +246,7 @@ void autoframing_instance::update(obs_data_t* data) // Tracking _track_mode = static_cast(obs_data_get_int(data, ST_KEY_TRACKING_MODE)); { - if (auto text = obs_data_get_string(data, ST_KEY_TRACKING_FREQUENCY ".X"); text != nullptr) { + if (auto text = obs_data_get_string(data, ST_KEY_TRACKING_FREQUENCY); text != nullptr) { float value = 0.; if (sscanf(text, "%f", &value) == 1) { if (const char* seconds = strchr(text, 's'); seconds == nullptr) {