diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-01-24 00:42:33 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-01-24 00:42:33 +0100 |
commit | f036fcbc0ff56dbab185d42c40f748e9c097bf22 (patch) | |
tree | 69eef4cacfae906c7866a3180d361b318408d83f /src/Overlay.cpp | |
parent | 5b84d7421f44c8bc00999071f2b3d46d238a9946 (diff) |
Add 'restart replay on save' option
Diffstat (limited to 'src/Overlay.cpp')
-rw-r--r-- | src/Overlay.cpp | 5 |
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); |