more self-documenting name
This commit is contained in:
parent
5256d28122
commit
8f8edb25f6
|
@ -31,7 +31,7 @@ local encoder
|
|||
local OSD
|
||||
local Timings
|
||||
|
||||
local presets = {
|
||||
local allowed_presets = {
|
||||
ultrafast = true,
|
||||
superfast = true,
|
||||
veryfast = true,
|
||||
|
@ -346,7 +346,7 @@ if not config.audio_bitrate:endswith('k') then
|
|||
config.audio_bitrate = config.audio_bitrate .. 'k'
|
||||
end
|
||||
|
||||
if not presets[config.preset] then
|
||||
if not allowed_presets[config.preset] then
|
||||
config.preset = 'faster'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue