subsurface/core/save-profiledata.h
Robert C. Helling 52105e5217 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>
2019-04-16 20:38:19 +02:00

17 lines
367 B
C

// SPDX-License-Identifier: GPL-2.0
#ifndef SAVE_PROFILE_DATA_H
#define SAVE_PROFILE_DATA_H
#include "dive.h"
#ifdef __cplusplus
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
}
#endif
#endif // SAVE_PROFILE_DATA_H