aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-24 17:35:39 +0200
committerChocobozzz <me@florianbigard.com>2023-05-24 17:35:39 +0200
commitb99ee1b150257e0d54bde4b928dd9dc76b97ef7b (patch)
treecb045564f17e9ef65f72d124a019241ab8f16e5d /client/src
parentb14e3c3de92b879d54610d28100ab0a35b11edf5 (diff)
downloadPeerTube-b99ee1b150257e0d54bde4b928dd9dc76b97ef7b.tar.gz
PeerTube-b99ee1b150257e0d54bde4b928dd9dc76b97ef7b.tar.zst
PeerTube-b99ee1b150257e0d54bde4b928dd9dc76b97ef7b.zip
Better label for default transcoding profile
Diffstat (limited to 'client/src')
-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