From 44b74ef6dbe68e3f098370294b8d176fc6b4fa51 Mon Sep 17 00:00:00 2001 From: bhklein Date: Tue, 3 Mar 2015 12:40:22 -0500 Subject: [PATCH] save timestamp in file metadata --- openbr/plugins/gallery/keyframes.cpp | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/openbr/plugins/gallery/keyframes.cpp b/openbr/plugins/gallery/keyframes.cpp index b24807f..0dfc144 100644 --- a/openbr/plugins/gallery/keyframes.cpp +++ b/openbr/plugins/gallery/keyframes.cpp @@ -165,6 +165,7 @@ public: QString URL = file.get("URL", file.name); output.file.set("URL", URL + "#t=" + QString::number((int)(idx * time_base)) + "s"); + output.file.set("timestamp", QString::number((int)(idx * time_base * 1000))); output.file.set("frame", QString::number(idx * time_base * fps)); TemplateList dst; dst.append(output); -- libgit2 0.21.4