Skip to content

Commit 5112d48

Browse files
committed
update track title format
1 parent bc1c5f0 commit 5112d48

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lua/dyn_menu.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -203,10 +203,10 @@ local function build_track_title(track, prefix, filename)
203203
if track['demux-h'] then
204204
h(track['demux-w'] and (track['demux-w'] .. 'x' .. track['demux-h'] or track['demux-h'] .. 'p'))
205205
end
206-
if track['demux-fps'] then h(string.format('%.3g fps', track['demux-fps'])) end
206+
if track['demux-fps'] then h(string.format('%.5g fps', track['demux-fps'])) end
207207
if track['audio-channels'] then h(track['audio-channels'] .. ' ch') end
208-
if track['demux-samplerate'] then h(string.format('%.3g kHz', track['demux-samplerate'] / 1000)) end
209-
if track['demux-bitrate'] then h(string.format('%.3g kbps', track['demux-bitrate'] / 1000)) end
208+
if track['demux-samplerate'] then h(string.format('%.5g kHz', track['demux-samplerate'] / 1000)) end
209+
if track['demux-bitrate'] then h(string.format('%.5g kbps', track['demux-bitrate'] / 1000)) end
210210
if #hints > 0 then title = string.format('%s [%s]', title, table.concat(hints, ', ')) end
211211

212212
-- put some important info at the end

0 commit comments

Comments
 (0)