diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-10 20:03:26 +0200 |
---|---|---|
committer | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2018-07-14 08:32:30 +0200 |
commit | 02ad18d4d8480985ca400613031b89340404ab55 (patch) | |
tree | c145bac78f5a2cb5206152d7011caa31566e385a /core/metadata.h | |
parent | 52cc51f9061f578932ede736ed591b36e69b8695 (diff) | |
download | subsurface-02ad18d4d8480985ca400613031b89340404ab55.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/metadata.h')
-rw-r--r-- | core/metadata.h | 1 |
1 files changed, 1 insertions, 0 deletions
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; }; |