1
0
Fork 0
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:
Chocobozzz 2018-01-17 10:32:03 +01:00
parent 9581cabc59
commit fd206f0b2d
No known key found for this signature in database
GPG key ID: 583A612D890159BE
35 changed files with 964 additions and 65 deletions

View file

@ -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)
}
}