diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-23 11:28:45 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-07-23 11:29:10 -0400 |
commit | d5209cb4bfb1a3ee41ffb45ec0ead71a540f19d1 (patch) | |
tree | 432f2c0749b8bd93aafdce0ac7c197c88536b851 /gtk2_ardour/editor_videotimeline.cc | |
parent | 8013160eb369ae8a97392284602e41cc77617b79 (diff) |
fix #5609 (import with 1 track per channel mis-associates tracks + channels)
when using ImportDistinctChannels, correctly name regions so that playlists for each channel/track
are also named differently, and thus reloaded properly when the session is reloaded.
Diffstat (limited to 'gtk2_ardour/editor_videotimeline.cc')
-rw-r--r-- | gtk2_ardour/editor_videotimeline.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc index 7395d767c7..0a516fb748 100644 --- a/gtk2_ardour/editor_videotimeline.cc +++ b/gtk2_ardour/editor_videotimeline.cc @@ -109,7 +109,7 @@ Editor::embed_audio_from_video (std::string path, framepos_t n) ipw.show (); boost::shared_ptr<ARDOUR::Track> track; - bool ok = (import_sndfiles (paths, Editing::ImportAsTrack, ARDOUR::SrcBest, n, 1, 1, track, false) == 0); + bool ok = (import_sndfiles (paths, Editing::ImportDistinctFiles, Editing::ImportAsTrack, ARDOUR::SrcBest, n, 1, 1, track, false) == 0); if (ok && track) { boost::shared_ptr<ARDOUR::Playlist> pl = track->playlist(); pl->find_next_region(n, ARDOUR::End, 0)->set_video_locked(true); |