RawLogger: fix wrong pts (#23205)

old-commit-hash: cfad1f35e8
commatwo_master
Dean Lee 3 years ago committed by GitHub
parent dd7c226097
commit a88eb06773
  1. 2
      selfdrive/loggerd/raw_logger.cc

@ -127,7 +127,7 @@ int RawLogger::encode_frame(const uint8_t *y_ptr, const uint8_t *u_ptr, const ui
frame->data[0] = (uint8_t*)y_ptr; frame->data[0] = (uint8_t*)y_ptr;
frame->data[1] = (uint8_t*)u_ptr; frame->data[1] = (uint8_t*)u_ptr;
frame->data[2] = (uint8_t*)v_ptr; frame->data[2] = (uint8_t*)v_ptr;
frame->pts = ts; frame->pts = counter;
int ret = counter; int ret = counter;

Loading…
Cancel
Save