[vlc-commits] Cue: don't round the start values
Jean-Baptiste Kempf
git at videolan.org
Sat Aug 30 21:08:43 CEST 2014
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat Aug 30 07:01:00 2014 +0200| [7b79b1fdfa3a22a4d060bc1fab9b0707c7b58d77] | committer: Jean-Baptiste Kempf
Cue: don't round the start values
Close #11740
(cherry picked from commit 84bdd0e765a83978fd246277d4b290ced72086b7)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=7b79b1fdfa3a22a4d060bc1fab9b0707c7b58d77
---
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
More information about the vlc-commits
mailing list