summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorJohannes Mueller <github@johannes-mueller.org>2015-04-15 18:03:39 +0200
committerRobin Gareus <robin@gareus.org>2015-04-21 18:15:29 +0200
commitca8ff9542090d02d61052b80467f02e9a9cab3bb (patch)
tree2896a653a6b1bfae835e12dd3f66ab4c7e08ec42 /libs
parentacd1ee1989549ecd48ee896a3e1d2158c92d6609 (diff)
Put an Intro chapter at position 00:00:00.000
Players like vlc seem to stumble, if there es no chapter at the zero position. As Ardour wouldn't let us put a track mark at the zero position we can just use our header_func to put some kind of dummy intro chapter. If a future version of Ardour allows track marks at zero, we need to do a bit more work.
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/export_handler.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/export_handler.cc b/libs/ardour/export_handler.cc
index 33e19d663f..bcc2783104 100644
--- a/libs/ardour/export_handler.cc
+++ b/libs/ardour/export_handler.cc
@@ -603,6 +603,7 @@ ExportHandler::write_toc_header (CDMarkerStatus & status)
void
ExportHandler::write_mp4ch_header (CDMarkerStatus & status)
{
+ status.out << "00:00:00.000 Intro" << endl;
}
void