replay/camera: set frame id before send (#25591)

pull/25597/head
Dean Lee 3 years ago committed by GitHub
parent cd32f64d01
commit 8f3b259f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      tools/replay/camera.cc

@ -55,6 +55,7 @@ void CameraServer::cameraThread(Camera &cam) {
.timestamp_sof = eidx.getTimestampSof(),
.timestamp_eof = eidx.getTimestampEof(),
};
yuv->set_frame_id(eidx.getFrameId());
vipc_server_->send(yuv, &extra, false);
} else {
rError("camera[%d] failed to get frame: %lu", cam.type, eidx.getSegmentId());

Loading…
Cancel
Save