13
0

(Source List) Catch new sources created by bounce-range-to-source-list

This commit is contained in:
Ben Loftis 2019-07-30 15:43:22 -05:00
parent d400dd813a
commit 3a2e06f36b

View File

@ -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);
}