diff options
author | Johannes Mueller <github@johannes-mueller.org> | 2015-04-12 14:26:39 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2015-04-21 18:15:29 +0200 |
commit | acd1ee1989549ecd48ee896a3e1d2158c92d6609 (patch) | |
tree | fccdd4a4c9ecec915be36d00e7b129009fbffaa2 /libs/ardour/export_format_manager.cc | |
parent | 9241f581883ddcdd51560c56c83c6afa6dc3815a (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/export_format_manager.cc')
-rw-r--r-- | libs/ardour/export_format_manager.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc index 04cfa76677..f87a08686f 100644 --- a/libs/ardour/export_format_manager.cc +++ b/libs/ardour/export_format_manager.cc @@ -293,6 +293,12 @@ ExportFormatManager::select_with_toc (bool value) check_for_description_change (); } +void +ExportFormatManager::select_with_mp4chaps (bool value) +{ + current_selection->set_with_mp4chaps (value); + check_for_description_change (); +} void ExportFormatManager::set_command (std::string command) |