From 02ad18d4d8480985ca400613031b89340404ab55 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Tue, 10 Jul 2018 20:03:26 +0200 Subject: Metadata: extract duration fom QuickTime/MP4-style containers We want the duration of videos for two reasons: - To display the duration of the video in the profile plot. - To be able to determine which dive a video is closer to if the start is not during a dive. Signed-off-by: Berthold Stoeger --- core/metadata.h | 1 + 1 file changed, 1 insertion(+) (limited to 'core/metadata.h') diff --git a/core/metadata.h b/core/metadata.h index da2a9c3d2..4470bdc88 100644 --- a/core/metadata.h +++ b/core/metadata.h @@ -5,6 +5,7 @@ struct metadata { timestamp_t timestamp; + duration_t duration; degrees_t latitude; degrees_t longitude; }; -- cgit v1.2.3-70-g09d2