mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 05:01:51 -04:00
obs-ffmpeg, UI: Allow slash in recording names
Automatically generate directories if slashes are present in a recording name format set in advanced settings or in the replay buffer prefix/suffix settings. Fixes obsproject/obs-studio#2416 Closes obsproject/obs-studio#2858
This commit is contained in:
1 parent
bb890a674e
commit
002886bbac
2 files changed
+8
-2
No files matched your search
@@ -837,8 +837,7 @@ bool SimpleOutput::StartStreaming(obs_service_t *service)
|
||||
|
||||
static void remove_reserved_file_characters(string &s)
|
||||
{
|
||||
replace(s.begin(), s.end(), '/', '_');
|
||||
replace(s.begin(), s.end(), '\\', '_');
|
||||
replace(s.begin(), s.end(), '\\', '/');
|
||||
replace(s.begin(), s.end(), '*', '_');
|
||||
replace(s.begin(), s.end(), '?', '_');
|
||||
replace(s.begin(), s.end(), '"', '_');
|
||||
|
||||
Reference in new issue
Block a user