Use property suffixes for units everywhere

This commit is contained in:
Vainock
2022-07-22 08:24:51 -04:00
committed by Ryan Foster
parent 30e6613fed
commit eb06594381
21 changed files with 112 additions and 76 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ MF.H264.BufferSize="Buffer Size"
MF.H264.CustomMaxBitrate="Use Custom Max Bitrate"
MF.H264.Bitrate="Bitrate"
MF.H264.MaxBitrate="Max Bitrate"
MF.H264.KeyframeIntervalSec="Keyframe Interval (seconds, 0=auto)"
MF.H264.KeyframeIntervalSec="Keyframe Interval (0=auto)"
MF.H264.RateControl="Rate Control"
MF.H264.CBR="CBR (Constant Bitrate)"
MF.H264.VBR="VBR (Variable Bitrate)"
+2 -1
View File
@@ -206,7 +206,8 @@ static obs_properties_t *MFH264_GetProperties(void *)
obs_property_list_add_int(list, "main", H264ProfileMain);
obs_property_list_add_int(list, "high", H264ProfileHigh);
obs_properties_add_int(props, MFP_KEY_INT, TEXT_KEYINT_SEC, 0, 20, 1);
p = obs_properties_add_int(props, MFP_KEY_INT, TEXT_KEYINT_SEC, 0, 20, 1);
obs_property_int_set_suffix(p, " s");
list = obs_properties_add_list(props, MFP_RATE_CONTROL,
TEXT_RATE_CONTROL, OBS_COMBO_TYPE_LIST, OBS_COMBO_FORMAT_INT);