}
next_frame_start = compute_frame_start(frame->pts, pts_origin, video_timebase, start, rate);
video_frame->received_timestamp = next_frame_start;
+ audio_frame->received_timestamp = next_frame_start;
bool finished_wakeup = producer_thread_should_quit.sleep_until(next_frame_start);
if (finished_wakeup) {
if (audio_frame->len > 0) {