mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Add ability to update some configuration keys
This commit is contained in:
parent
9581cabc59
commit
fd206f0b2d
35 changed files with 964 additions and 65 deletions
|
@ -104,7 +104,7 @@ function computeResolutionsToTranscode (videoFileHeight: number) {
|
|||
]
|
||||
|
||||
for (const resolution of resolutions) {
|
||||
if (configResolutions[resolution.toString()] === true && videoFileHeight > resolution) {
|
||||
if (configResolutions[resolution + 'p'] === true && videoFileHeight > resolution) {
|
||||
resolutionsEnabled.push(resolution)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue