mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-03-31 09:07:13 +09:00
Fix replay to disk not working properly when restarting replay
This commit is contained in:
@@ -1301,12 +1301,12 @@ static void save_replay_async(AVCodecContext *video_codec_context, int video_str
|
||||
replay_packet_data = gsr_replay_buffer_iterator_get_packet_data(cloned_replay_buffer, replay_iterator);
|
||||
|
||||
if(!replay_packet) {
|
||||
fprintf(stderr, "no replay packet\n");
|
||||
fprintf(stderr, "gsr error: save_replay_async: no replay packet\n");
|
||||
break;
|
||||
}
|
||||
|
||||
if(!replay_packet->data && !replay_packet_data) {
|
||||
fprintf(stderr, "no replay packet data\n");
|
||||
fprintf(stderr, "gsr error: save_replay_async: no replay packet data\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user