aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts8
-rw-r--r--client/src/app/+admin/config/edit-custom-config/edit-vod-transcoding.component.ts8
2 files changed, 8 insertions, 8 deletions
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts
index 50b882cb8..1d1fecf90 100644
--- a/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts
+++ b/client/src/app/+admin/config/edit-custom-config/edit-live-configuration.component.ts
@@ -51,11 +51,11 @@ export class EditLiveConfigurationComponent implements OnInit, OnChanges {
51 const profiles = this.serverConfig.live.transcoding.availableProfiles 51 const profiles = this.serverConfig.live.transcoding.availableProfiles
52 52
53 return profiles.map(p => { 53 return profiles.map(p => {
54 const description = p === 'default' 54 if (p === 'default') {
55 ? $localize`x264, targeting maximum device compatibility` 55 return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
56 : '' 56 }
57 57
58 return { id: p, label: p, description } 58 return { id: p, label: p }
59 }) 59 })
60 } 60 }
61 61
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 0a1ebe8e2..c5f4ecddb 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
@@ -46,11 +46,11 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges {
46 const profiles = this.serverConfig.transcoding.availableProfiles 46 const profiles = this.serverConfig.transcoding.availableProfiles
47 47
48 return profiles.map(p => { 48 return profiles.map(p => {
49 const description = p === 'default' 49 if (p === 'default') {
50 ? $localize`x264, targeting maximum device compatibility` 50 return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
51 : '' 51 }
52 52
53 return { id: p, label: p, description } 53 return { id: p, label: p }
54 }) 54 })
55 } 55 }
56 56