From acd1ee1989549ecd48ee896a3e1d2158c92d6609 Mon Sep 17 00:00:00 2001 From: Johannes Mueller Date: Sun, 12 Apr 2015 14:26:39 +0200 Subject: 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". --- libs/ardour/export_format_manager.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libs/ardour/export_format_manager.cc') 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) -- cgit v1.2.3