diff --git a/src/lua/dyn_menu.lua b/src/lua/dyn_menu.lua index f01c1bd..61c1385 100644 --- a/src/lua/dyn_menu.lua +++ b/src/lua/dyn_menu.lua @@ -203,10 +203,10 @@ local function build_track_title(track, prefix, filename) if track['demux-h'] then h(track['demux-w'] and (track['demux-w'] .. 'x' .. track['demux-h'] or track['demux-h'] .. 'p')) end - if track['demux-fps'] then h(string.format('%.3g fps', track['demux-fps'])) end + if track['demux-fps'] then h(string.format('%.5g fps', track['demux-fps'])) end if track['audio-channels'] then h(track['audio-channels'] .. ' ch') end - if track['demux-samplerate'] then h(string.format('%.3g kHz', track['demux-samplerate'] / 1000)) end - if track['demux-bitrate'] then h(string.format('%.3g kbps', track['demux-bitrate'] / 1000)) end + if track['demux-samplerate'] then h(string.format('%.5g kHz', track['demux-samplerate'] / 1000)) end + if track['demux-bitrate'] then h(string.format('%.5g kbps', track['demux-bitrate'] / 1000)) end if #hints > 0 then title = string.format('%s [%s]', title, table.concat(hints, ', ')) end -- put some important info at the end