diff options
author | Chocobozzz <me@florianbigard.com> | 2018-12-11 14:52:50 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-12-11 15:11:09 +0100 |
commit | 14e2014acc1362cfbb770c051a7254b156cd8efb (patch) | |
tree | 8b7d5aedd9fe0beff8b971c9bae7781ba2069228 /shared | |
parent | 8923187455c5aa7167d813c5c745d3857f183fd7 (diff) | |
download | PeerTube-14e2014acc1362cfbb770c051a7254b156cd8efb.tar.gz PeerTube-14e2014acc1362cfbb770c051a7254b156cd8efb.tar.zst PeerTube-14e2014acc1362cfbb770c051a7254b156cd8efb.zip |
Support additional video extensions
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/server/custom-config.model.ts | 1 | ||||
-rw-r--r-- | shared/utils/server/config.ts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/server/custom-config.model.ts b/shared/models/server/custom-config.model.ts index 3afd36fcd..028aafa1a 100644 --- a/shared/models/server/custom-config.model.ts +++ b/shared/models/server/custom-config.model.ts | |||
@@ -48,6 +48,7 @@ export interface CustomConfig { | |||
48 | 48 | ||
49 | transcoding: { | 49 | transcoding: { |
50 | enabled: boolean | 50 | enabled: boolean |
51 | allowAdditionalExtensions: boolean | ||
51 | threads: number | 52 | threads: number |
52 | resolutions: { | 53 | resolutions: { |
53 | '240p': boolean | 54 | '240p': boolean |
diff --git a/shared/utils/server/config.ts b/shared/utils/server/config.ts index 5b888b061..ff5288c82 100644 --- a/shared/utils/server/config.ts +++ b/shared/utils/server/config.ts | |||
@@ -86,6 +86,7 @@ function updateCustomSubConfig (url: string, token: string, newConfig: any) { | |||
86 | }, | 86 | }, |
87 | transcoding: { | 87 | transcoding: { |
88 | enabled: true, | 88 | enabled: true, |
89 | allowAdditionalExtensions: true, | ||
89 | threads: 1, | 90 | threads: 1, |
90 | resolutions: { | 91 | resolutions: { |
91 | '240p': false, | 92 | '240p': false, |