win-capture: Add OBS_SOURCE_SRGB flag

This commit is contained in:
jpark37
2021-05-02 22:41:18 -07:00
committed by Jim
parent 41a294311c
commit 78711fa648
3 changed files with 4 additions and 3 deletions

View File

@@ -2081,7 +2081,7 @@ struct obs_source_info game_capture_info = {
.id = "game_capture",
.type = OBS_SOURCE_TYPE_INPUT,
.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW |
OBS_SOURCE_DO_NOT_DUPLICATE,
OBS_SOURCE_DO_NOT_DUPLICATE | OBS_SOURCE_SRGB,
.get_name = game_capture_name,
.create = game_capture_create,
.destroy = game_capture_destroy,