cellRec: fix internal video frame ringbuffer pts

This commit is contained in:
Megamouse 2023-11-15 22:59:36 +01:00
parent b2d9da0b4b
commit 90846013c2

View File

@ -659,6 +659,7 @@ void rec_info::start_video_provider()
if (use_ring_buffer) if (use_ring_buffer)
{ {
// The video frames originate from our render pipeline and are stored in a ringbuffer. // The video frames originate from our render pipeline and are stored in a ringbuffer.
frame.pts = pts;
video_ringbuffer[next_video_ring_pos()] = std::move(frame); video_ringbuffer[next_video_ring_pos()] = std::move(frame);
video_ring_frame_count++; video_ring_frame_count++;
} }