mirror of https://github.com/Chocobozzz/PeerTube
Fix FPS label in resolution menu
parent
3a6f351b25
commit
395ecf709d
|
@ -134,7 +134,10 @@ class PeerTubePlugin extends Plugin {
|
||||||
}
|
}
|
||||||
|
|
||||||
getCurrentResolutionLabel () {
|
getCurrentResolutionLabel () {
|
||||||
return this.currentVideoFile ? this.currentVideoFile.resolution.label : ''
|
if (!this.currentVideoFile) return ''
|
||||||
|
|
||||||
|
const fps = this.currentVideoFile.fps >= 50 ? this.currentVideoFile.fps : ''
|
||||||
|
return this.currentVideoFile.resolution.label + fps
|
||||||
}
|
}
|
||||||
|
|
||||||
updateVideoFile (
|
updateVideoFile (
|
||||||
|
|
Loading…
Reference in New Issue