diff --git a/public/future/config.json b/public/future/config.json index 7d2c03fb8c..babc0038a0 100644 --- a/public/future/config.json +++ b/public/future/config.json @@ -2422,6 +2422,7 @@ "type": "str", "value": "crf=35 preset=superfast", "description": "FFmpeg options for video codec. See https://trac.ffmpeg.org/wiki/Encode/H.264\n⚠ Some browsers and video decoders don't support crf=0", + "displayName": "FFmpeg options", "globalSpec": true, "advanced": true }, @@ -4204,6 +4205,7 @@ "type": "u32", "value": 0, "description": "Value passed to function av_log_set_level()\nSee https://www.ffmpeg.org/doxygen/2.3/group__lavu__log__constants.html", + "displayName": "FFmpeg", "globalSpec": true, "hex": true, "advanced": true diff --git a/public/future/index.html b/public/future/index.html index 16ee9d2280..57cde1a9a7 100644 --- a/public/future/index.html +++ b/public/future/index.html @@ -335,11 +335,9 @@ } const computeDisplayName = (name) => { - // aaa_bbb_ccc -> Aaa Bbb Ccc - return name.replace( - /([a-zA-Z0-9]+)(_?)/g, - (_, s, sep) => `${s[0].toUpperCase()}${s.substr(1)}${sep ? ' ' : ''}` - ); + // aaa_bbb_ccc -> Aaa bbb ccc + name = name.replaceAll('_', ' '); + return name.charAt(0).toUpperCase() + name.slice(1); }; const computeSpecInfo = (spec) => {