remove .00 from formatted bitrate values

This commit is contained in:
Techywarrior 2013-04-29 19:28:51 -07:00
parent 306d82dbe9
commit cc49c71753

View File

@ -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;