obs-studio icon indicating copy to clipboard operation
obs-studio copied to clipboard

UI: Add button to split file

Open gxalpha opened this issue 3 years ago • 1 comments

Description

Adds a button to the controls dock to manually split a file, as well as a hotkey. Adds an option "Only split manually" to the "Automatic File Splitting" dropdown menu.

Screenshots: Yami image image Dark image

image

Depends on #6779 and #6816

Motivation and Context

Users might want a way to manually split their recordings for better organization (for example by game played in a stream etc). An API for that gets introduced in #6779, but ideally users shouldn't require a script/plugin.

How Has This Been Tested?

macOS 13 Pressed both and confirmed button and hotkey that they correctly trigger the API (and the file gets split). Confirmed that split button gets greyed out when recording is paused.

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • [x] My code has been run through clang-format.
  • [x] I have read the contributing document.
  • [x] My code is not on the master branch.
  • [x] The code has been tested.
  • [x] All commit messages are properly formatted and commits squashed where appropriate.
  • [x] I have included updates to all appropriate documentation.

gxalpha avatar Jul 22 '22 01:07 gxalpha

Rebased on master. As per off-thread discussion, this still needs a better icon.

gxalpha avatar Jul 30 '22 13:07 gxalpha