Skip to content

Commit

Permalink
ptz: Fix wrong minimum setting for face_lost_zoomout_timeout
Browse files Browse the repository at this point in the history
The setting "face_lost_zoomout_timeout" should take 0.0 so that the
option will be disabled.
  • Loading branch information
norihiro committed Jun 14, 2024
1 parent e1a83c7 commit 0bae158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/face-tracker-ptz.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ static obs_properties_t *ftptz_properties(void *data)
obs_property_float_set_suffix(p, " s");
obs_properties_add_int(pp, "face_lost_ptz_preset", "Recall memory (-1 for disable)", -1, 15, 1);
obs_properties_add_group(props, "facelost", obs_module_text("Face lost behavior"), OBS_GROUP_NORMAL, pp);
p = obs_properties_add_float(pp, "face_lost_zoomout_timeout", "Timeout until zoom-out", 0.1, 60.0, 0.1);
p = obs_properties_add_float(pp, "face_lost_zoomout_timeout", "Timeout until zoom-out", 0.0, 60.0, 0.1);
obs_property_float_set_suffix(p, " s");
}

Expand Down

0 comments on commit 0bae158

Please sign in to comment.