vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Sat Aug 30 07:01:00 2014 +0200| [84bdd0e765a83978fd246277d4b290ced72086b7] | committer: Jean-Baptiste Kempf
Cue: don't round the start values Close #11740 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=84bdd0e765a83978fd246277d4b290ced72086b7 --- share/lua/playlist/cue.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/lua/playlist/cue.lua b/share/lua/playlist/cue.lua index dbfd83c..1b48949 100644 --- a/share/lua/playlist/cue.lua +++ b/share/lua/playlist/cue.lua @@ -75,7 +75,7 @@ function cue_track( global, track ) t.date = track.date or global.date t.description = global.comment t.tracknum = track.num - t.options = { ":start-time=" .. math.floor(track.index01) } + t.options = { ":start-time=" .. track.index01} return t end @@ -85,7 +85,7 @@ function cue_append( tracks, global, track ) if( t ~= nil ) then if( #tracks > 0 ) then local prev = tracks[#tracks] - table.insert( prev.options, ":stop-time=" .. math.floor(track.index01) ) + table.insert( prev.options, ":stop-time=" .. track.index01) end table.insert( tracks, t ) end _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
