obs-filters: Clarify that HDR Tone Mapping filter is optional

master
gxalpha 2022-08-28 00:42:42 +02:00 committed by Jim
parent 37389ff243
commit a4f486517f
2 changed files with 8 additions and 3 deletions

View File

@ -46,6 +46,7 @@ Crop.Bottom="Bottom"
Crop.Width="Width"
Crop.Height="Height"
Crop.Relative="Relative"
HdrTonemap.Description="OBS can perform HDR to SDR tone mapping automatically. Only use this filter if you need additional control for a particular source.\nThis filter has no effect on SDR sources."
HdrTonemap.ToneTransform="Tone Transform"
HdrTonemap.SdrReinhard="SDR: Reinhard"
HdrTonemap.HdrMaxrgb="HDR: maxRGB"

View File

@ -102,9 +102,13 @@ static obs_properties_t *hdr_tonemap_filter_properties(void *data)
{
obs_properties_t *props = obs_properties_create();
obs_property_t *p = obs_properties_add_list(
props, "transform", obs_module_text("HdrTonemap.ToneTransform"),
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
obs_property_t *p = obs_properties_add_text(
props, "override_info",
obs_module_text("HdrTonemap.Description"), OBS_TEXT_INFO);
p = obs_properties_add_list(props, "transform",
obs_module_text("HdrTonemap.ToneTransform"),
OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);
obs_property_list_add_int(p, obs_module_text("HdrTonemap.SdrReinhard"),
TRANSFORM_SDR_REINHARD);
obs_property_list_add_int(p, obs_module_text("HdrTonemap.HdrMaxrgb"),