RawLogger: fix wrong pts (#23205)

old-commit-hash: cfad1f35e8a763a7ae15244966c925c751e684b9
This commit is contained in:
Dean Lee
2021-12-13 18:46:52 +08:00
committed by GitHub
parent dd7c226097
commit a88eb06773
+1 -1
View File
@@ -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[1] = (uint8_t*)u_ptr;
frame->data[2] = (uint8_t*)v_ptr;
frame->pts = ts;
frame->pts = counter;
int ret = counter;