mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
remove .00 from formatted bitrate values
This commit is contained in:
parent
306d82dbe9
commit
cc49c71753
@ -424,13 +424,13 @@
|
||||
html += '<li><span class="mediaInfoLabel">Aspect Ratio</span> ' + stream.AspectRatio + '</li>';
|
||||
}
|
||||
if (stream.BitRate) {
|
||||
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric">' + stream.BitRate + '</span></li>';
|
||||
html += '<li><span class="mediaInfoLabel">Bitrate</span> <span class="autoNumeric" data-m-round="D">' + stream.BitRate + '</span></li>';
|
||||
}
|
||||
if (stream.Channels) {
|
||||
html += '<li><span class="mediaInfoLabel">Channels</span> ' + stream.Channels + '</li>';
|
||||
}
|
||||
if (stream.SampleRate) {
|
||||
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric">' + stream.SampleRate + '</span></li>';
|
||||
html += '<li><span class="mediaInfoLabel">Sample Rate</span> <span class="autoNumeric" data-m-round="D">' + stream.SampleRate + '</span></li>';
|
||||
}
|
||||
|
||||
var framerate = stream.AverageFrameRate || stream.RealFrameRate;
|
||||
|
Loading…
Reference in New Issue
Block a user