fix: prevent enabling global timestamp for playback devices

This commit is contained in:
slz
2026-06-18 14:35:34 +08:00
parent e55ad2a1d1
commit 4066263185
+1 -1
View File
@@ -3809,7 +3809,7 @@ void OBCameraNode::getParameters() {
if (isOpenNIDevice(pid_)) {
time_domain_ = "system";
}
if (time_domain_ == "global") {
if (time_domain_ == "global" && !is_playback_device_) {
device_->enableGlobalTimestamp(true);
}
setAndGetNodeParameter<int>(frames_per_trigger_, "frames_per_trigger", 2);