aboutsummaryrefslogtreecommitdiff
path: root/src/Overlay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r--src/Overlay.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Overlay.cpp b/src/Overlay.cpp
index a8490ab..6ecd32e 100644
--- a/src/Overlay.cpp
+++ b/src/Overlay.cpp
@@ -1866,6 +1866,11 @@ namespace gsr {
"-o", output_directory.c_str()
};
+ if(config.replay_config.restart_replay_on_save && gsr_info.system_info.gsr_version >= GsrVersion{5, 0, 2}) {
+ args.push_back("-overlap-replay");
+ args.push_back("no");
+ }
+
add_common_gpu_screen_recorder_args(args, config.replay_config.record_options, audio_tracks, video_bitrate, region, audio_tracks_merged);
args.push_back(nullptr);