win-capture: Add OBS_SOURCE_SRGB flag
parent
41a294311c
commit
78711fa648
|
@ -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,
|
||||
|
|
|
@ -232,7 +232,7 @@ struct obs_source_info monitor_capture_info = {
|
|||
.id = "monitor_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 = monitor_capture_getname,
|
||||
.create = monitor_capture_create,
|
||||
.destroy = monitor_capture_destroy,
|
||||
|
|
|
@ -586,7 +586,8 @@ static void wc_render(void *data, gs_effect_t *effect)
|
|||
struct obs_source_info window_capture_info = {
|
||||
.id = "window_capture",
|
||||
.type = OBS_SOURCE_TYPE_INPUT,
|
||||
.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW,
|
||||
.output_flags = OBS_SOURCE_VIDEO | OBS_SOURCE_CUSTOM_DRAW |
|
||||
OBS_SOURCE_SRGB,
|
||||
.get_name = wc_getname,
|
||||
.create = wc_create,
|
||||
.destroy = wc_destroy,
|
||||
|
|
Loading…
Reference in New Issue