summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2019-07-30 15:43:22 -0500
committerBen Loftis <ben@harrisonconsoles.com>2019-08-01 12:11:31 -0500
commit3a2e06f36b7223aea776d16b4ba67360b500f797 (patch)
tree6c5cf2100bf198d4a5fb253a0c89aa244e131396 /libs
parentd400dd813af4731e72dcd997f8332924c2b45c0f (diff)
(Source List) Catch new sources created by bounce-range-to-source-list
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/session.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc
index 3b76bb119d..3d6c0055d7 100644
--- a/libs/ardour/session.cc
+++ b/libs/ardour/session.cc
@@ -6182,7 +6182,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
goto out;
}
- legal_playlist_name = legalize_for_path (playlist->name());
+ legal_playlist_name = "(BOUNCE) " + legalize_for_path (playlist->name());
for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) {
@@ -6328,10 +6328,11 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end,
PropertyList plist;
plist.add (Properties::start, 0);
+ plist.add (Properties::whole_file, true);
plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position()));
plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true));
- result = RegionFactory::create (srcs, plist);
+ result = RegionFactory::create (srcs, plist, true);
}