diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-19 14:58:54 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-19 14:58:54 +0000 |
commit | b6642d14ca64153b5731d1a3a79e4d00060541ca (patch) | |
tree | d5c2ee3b0ce0452a08f3bc950604db63f7b4118e /libs/ardour/export_profile_manager.cc | |
parent | a958dd0512a29894096e67ccd41a3d879b6bc162 (diff) |
Write BWF info on export. Fixes #3398.
git-svn-id: svn://localhost/ardour2/branches/3.0@7652 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r-- | libs/ardour/export_profile_manager.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc index 521f72747f..40160d1ada 100644 --- a/libs/ardour/export_profile_manager.cc +++ b/libs/ardour/export_profile_manager.cc @@ -38,6 +38,7 @@ #include "ardour/filename_extensions.h" #include "ardour/route.h" #include "ardour/session.h" +#include "ardour/broadcast_info.h" #include "i18n.h" @@ -122,7 +123,14 @@ ExportProfileManager::prepare_for_export () ++format_it, ++filename_it) { // filename->include_timespan = (ts_list->size() > 1); Disabled for now... - handler->add_export_config (*ts_it, channel_config, (*format_it)->format, (*filename_it)->filename); + + boost::shared_ptr<BroadcastInfo> b; + if ((*format_it)->format->has_broadcast_info()) { + b.reset (new BroadcastInfo); + b->set_from_session (session, (*ts_it)->get_start()); + } + + handler->add_export_config (*ts_it, channel_config, (*format_it)->format, (*filename_it)->filename, b); } } } |