From bcf8b53c40b66cd60b26734d198855f98166f1e0 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Sun, 16 Jun 2019 01:30:55 +0200 Subject: [PATCH] Honor the current start position when exporting chapter marks --- scripts/export_mp4chaps.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/export_mp4chaps.lua b/scripts/export_mp4chaps.lua index 98b5b9dc65..61c78c3a2f 100644 --- a/scripts/export_mp4chaps.lua +++ b/scripts/export_mp4chaps.lua @@ -27,7 +27,7 @@ function factory (unused_params) return function () if not l:is_mark() or string.find(name, "^xrun%d*$") then goto next end - local t = l:start() + local t = l:start() - Session:current_start_sample() local h = math.floor(t / (3600*fr)) local r = t - (h*3600*fr) local m = math.floor(r / (60*fr))