Skip to content

Commit

Permalink
Fix preset names
Browse files Browse the repository at this point in the history
  • Loading branch information
jp9000 committed May 18, 2022
1 parent 0b0da81 commit cbbcf98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions plugins/obs-ffmpeg/data/locale/en-US.ini
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ NVENC.PsychoVisualTuning="Psycho Visual Tuning"
NVENC.PsychoVisualTuning.ToolTip="Enables encoder settings that optimize the use of bitrate for increased perceived visual quality,\nespecially in situations with high motion, at the cost of increased GPU utilization."
NVENC.CQLevel="CQ Level"

AMF.Preset.speed="Speed"
AMF.Preset.balanced="Balanced"
AMF.Preset.quality="Quality"

FFmpegSource="Media Source"
LocalFile="Local File"
Looping="Loop"
Expand Down
5 changes: 2 additions & 3 deletions plugins/obs-ffmpeg/obs-ffmpeg-amf.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,8 @@ static obs_properties_t *amf_properties_internal(bool hevc)
OBS_COMBO_TYPE_LIST,
OBS_COMBO_FORMAT_STRING);

#define add_preset(val) \
obs_property_list_add_string(p, obs_module_text("NVENC.Preset." val), \
val)
#define add_preset(val) \
obs_property_list_add_string(p, obs_module_text("AMF.Preset." val), val)
add_preset("quality");
add_preset("balanced");
add_preset("speed");
Expand Down

0 comments on commit cbbcf98

Please sign in to comment.