mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-09-18 15:32:33 +00:00
cellRec: hotfix for pre-recording
This commit is contained in:
parent
064ab58f3c
commit
1cc3e6e510
1 changed files with 3 additions and 1 deletions
|
@ -601,7 +601,9 @@ void rec_info::start_image_provider()
|
|||
if (const s64 pts = encoder->get_pts(frame.timestamp_ms); pts > last_pts && frame.data.size() > 0)
|
||||
{
|
||||
ensure(frame.data.size() == frame_size);
|
||||
video_ringbuffer[next_video_ring_pos()] = std::move(frame);
|
||||
utils::image_sink::encoder_frame& frame_data = video_ringbuffer[next_video_ring_pos()];
|
||||
frame_data = std::move(frame);
|
||||
frame_data.pts = pts;
|
||||
last_pts = pts;
|
||||
video_ring_frame_count++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue