obsproject / obsproject/obs-studio
Replay buffer filename formatting pattern adds extra whitespace
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 76.4k
- Forks
- 10.2k
- Avg merge
- 4d 23h
- Merged PRs (30d)
- 12
Description
Operating System Info
Windows 10
Other OS
No response
OBS Studio Version
Git
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/LgSrA_HmUJpOMWfS
OBS Studio Crash Log URL
No response
Expected Behavior
Replay buffer should be saved as 2021_06_10_23-35-28_replay.mkv (current date and time, suffixed with _replay)
Current Behavior
Replay buffer was saved as 2021_06_10_23-35-28 _replay.mkv (extra unwanted whitespace before suffix)
Steps to Reproduce
- In Settings>Advanced, set filename formatting pattern to
%CCYY.%MM.%DD/%CCYY_%MM_%DD_%hh-%mm-%ss - Blank out the replay filename prefix and set suffix to
_replay - In Settings>Output, verify that "Generate file name without space" is unticked (off)
- Start replay buffer, save replay buffer
Anything else we should know?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the listed Windows 10 settings and the replay buffer workflow, then trace the replay buffer filename-generation entry point. Confirm the fix by saving a replay with a blank prefix and _replay suffix, ensuring the filename has no unwanted space before the suffix.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100