diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-04-14 16:19:23 +0200 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2019-04-16 20:38:19 +0200 |
commit | 52105e521720c87e64dbd2519be7bbe5dc243439 (patch) | |
tree | c8483c1d7163a9bf6b40b6f984467ccfd549c7d9 /core/save-profiledata.h | |
parent | 0573b19b653d0b4963fe11efdc2303289d2b7994 (diff) | |
download | subsurface-52105e521720c87e64dbd2519be7bbe5dc243439.tar.gz |
Write dive data as video subtitles
This commit adds an entry to the dive media context
menu which offers to write a subtitle file. This
creates an .ass file for the selected videos.
In an attempt to to clutter the screen too much, don't
show irrelevant entries (zero temperature or
NDL and show TTS only for dives with stops).
VLC is able to show these subtitles directly, they
can be integrated into the video file with ffmpeg.
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/save-profiledata.h')
-rw-r--r-- | core/save-profiledata.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/save-profiledata.h b/core/save-profiledata.h index 23e833a27..fd38e48ca 100644 --- a/core/save-profiledata.h +++ b/core/save-profiledata.h @@ -9,6 +9,7 @@ extern "C" { #endif int save_profiledata(const char *filename, bool selected_only); +void save_subtitles_buffer(struct membuffer *b, struct dive *dive, int offset, int length); #ifdef __cplusplus } |