mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
Use property suffixes for units everywhere
This commit is contained in:
@@ -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)"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user