fix: simplify intra camera sync reference check in setupDevices

This commit is contained in:
ob-yalian
2026-09-03 09:57:59 +08:00
parent 9d92f4718a
commit 74abd4c194
+1 -1
View File
@@ -1831,7 +1831,7 @@ void OBCameraNode::setupDevices() {
"Current gyro data correction: "
<< (device_->getBoolProperty(OB_PROP_SDK_GYRO_FRAME_TRANSFORMED_BOOL) ? "ON" : "OFF"));
}
if (isGemini335PID(pid_) && !intra_camera_sync_reference_.empty() &&
if (!intra_camera_sync_reference_.empty() &&
device_->isPropertySupported(OB_PROP_INTRA_CAMERA_SYNC_REFERENCE_INT, OB_PERMISSION_WRITE)) {
if (intra_camera_sync_reference_ == "Start") {
TRY_TO_SET_PROPERTY(setIntProperty, OB_PROP_INTRA_CAMERA_SYNC_REFERENCE_INT, 0);