diff options
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts index a2dc3e52a..b017dd08c 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts | |||
@@ -20,6 +20,8 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges { | |||
20 | transcodingProfiles: SelectOptionsItem[] = [] | 20 | transcodingProfiles: SelectOptionsItem[] = [] |
21 | resolutions: ResolutionOption[] = [] | 21 | resolutions: ResolutionOption[] = [] |
22 | 22 | ||
23 | additionalVideoExtensions = '' | ||
24 | |||
23 | constructor ( | 25 | constructor ( |
24 | private configService: ConfigService, | 26 | private configService: ConfigService, |
25 | private editConfigurationService: EditConfigurationService | 27 | private editConfigurationService: EditConfigurationService |
@@ -35,6 +37,8 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges { | |||
35 | ngOnChanges (changes: SimpleChanges) { | 37 | ngOnChanges (changes: SimpleChanges) { |
36 | if (changes['serverConfig']) { | 38 | if (changes['serverConfig']) { |
37 | this.transcodingProfiles = this.buildAvailableTranscodingProfile() | 39 | this.transcodingProfiles = this.buildAvailableTranscodingProfile() |
40 | |||
41 | this.additionalVideoExtensions = this.serverConfig.video.file.extensions.join(' ') | ||
38 | } | 42 | } |
39 | } | 43 | } |
40 | 44 | ||