Skip to content

Commit

Permalink
Update page from future 0af6d91
Browse files Browse the repository at this point in the history
  • Loading branch information
CI Pipeline committed Nov 16, 2023
1 parent 5f5d4b3 commit f881da7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions public/future/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
},
Expand Down Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions public/future/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit f881da7

Please sign in to comment.