mirror of https://github.com/Chocobozzz/PeerTube
Better label for default transcoding profile
parent
b14e3c3de9
commit
b99ee1b150
|
@ -51,11 +51,11 @@ export class EditLiveConfigurationComponent implements OnInit, OnChanges {
|
||||||
const profiles = this.serverConfig.live.transcoding.availableProfiles
|
const profiles = this.serverConfig.live.transcoding.availableProfiles
|
||||||
|
|
||||||
return profiles.map(p => {
|
return profiles.map(p => {
|
||||||
const description = p === 'default'
|
if (p === 'default') {
|
||||||
? $localize`x264, targeting maximum device compatibility`
|
return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
|
||||||
: ''
|
}
|
||||||
|
|
||||||
return { id: p, label: p, description }
|
return { id: p, label: p }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -46,11 +46,11 @@ export class EditVODTranscodingComponent implements OnInit, OnChanges {
|
||||||
const profiles = this.serverConfig.transcoding.availableProfiles
|
const profiles = this.serverConfig.transcoding.availableProfiles
|
||||||
|
|
||||||
return profiles.map(p => {
|
return profiles.map(p => {
|
||||||
const description = p === 'default'
|
if (p === 'default') {
|
||||||
? $localize`x264, targeting maximum device compatibility`
|
return { id: p, label: $localize`Default`, description: $localize`x264, targeting maximum device compatibility` }
|
||||||
: ''
|
}
|
||||||
|
|
||||||
return { id: p, label: p, description }
|
return { id: p, label: p }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue