summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_format_specification.h
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2015-04-12 14:26:39 +0200
committerRobin Gareus <robin@gareus.org>2015-04-21 18:15:29 +0200
commitacd1ee1989549ecd48ee896a3e1d2158c92d6609 (patch)
treefccdd4a4c9ecec915be36d00e7b129009fbffaa2 /libs/ardour/ardour/export_format_specification.h
parent9241f581883ddcdd51560c56c83c6afa6dc3815a (diff)
Added support for exporting mp4 chapter marks
The mp4 file format supports chapter marks using the so called mp4chaps format to enable chapter wise navigation in an mp4 file. The format is like hh:mm:ss.sss Chapter Title This commit adds the ability to export those kind of chapter marks along with TOC and CUE marks. The filename extension for the chapter mark file is "chapters.txt". The format specification description is "MP4ch".
Diffstat (limited to 'libs/ardour/ardour/export_format_specification.h')
-rw-r--r--libs/ardour/ardour/export_format_specification.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h
index 2a62d792f0..ed6e259644 100644
--- a/libs/ardour/ardour/export_format_specification.h
+++ b/libs/ardour/ardour/export_format_specification.h
@@ -96,6 +96,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
void set_tag (bool tag_it) { _tag = tag_it; }
void set_with_cue (bool yn) { _with_cue = yn; }
void set_with_toc (bool yn) { _with_toc = yn; }
+ void set_with_mp4chaps (bool yn) { _with_mp4chaps = yn; }
void set_soundcloud_upload (bool yn) { _soundcloud_upload = yn; }
void set_command (std::string command) { _command = command; }
@@ -127,6 +128,8 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float normalize_target () const { return _normalize_target; }
bool with_toc() const { return _with_toc; }
bool with_cue() const { return _with_cue; }
+ bool with_mp4chaps() const { return _with_mp4chaps; }
+
bool soundcloud_upload() const { return _soundcloud_upload; }
std::string command() const { return _command; }
@@ -178,6 +181,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase {
float _normalize_target;
bool _with_toc;
bool _with_cue;
+ bool _with_mp4chaps;
bool _soundcloud_upload;
std::string _command;