[vlc-commits] Cue: don't round the start values

2014-08-30 Thread Jean-Baptiste Kempf
vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf j...@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 j...@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

___
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits


[vlc-commits] Cue: don't round the start values

2014-08-29 Thread Jean-Baptiste Kempf
vlc | branch: master | Jean-Baptiste Kempf j...@videolan.org | 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
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits