Add SRGB support flag #292

Merged
jpark37 merged 1 commit from srgb-flag into master 2021-05-03 05:19:54 -05:00
jpark37 commented 2021-05-03 00:51:27 -05:00 (Migrated from github.com)

Description

This flag indicates to OBS that the source is SRGB-aware, and not to
force-disable it.

Do not merge until after obsproject/obs-studio#4639.

Motivation and Context

This flag has been added to distinguish between sources that know how to handle SRGB, and those that don't, so we can still render old sources correctly.

How Has This Been Tested?

Colors still look fine. Debugger inspection.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.
### Description This flag indicates to OBS that the source is SRGB-aware, and not to force-disable it. Do not merge until after obsproject/obs-studio#4639. ### Motivation and Context This flag has been added to distinguish between sources that know how to handle SRGB, and those that don't, so we can still render old sources correctly. ### How Has This Been Tested? Colors still look fine. Debugger inspection. ### Types of changes - Bug fix (non-breaking change which fixes an issue) ### Checklist: - [x] My code has been run through [clang-format](https://github.com/obsproject/obs-studio/blob/master/.clang-format). - [x] I have read the [**contributing** document](https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst). - [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.
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-obsproject/obs-browser!292
No description provided.