From 52cce5adc6b2afa772826eff8ea92379ae09a9dd Mon Sep 17 00:00:00 2001 From: agfline Date: Thu, 14 Mar 2024 12:47:21 +0100 Subject: [PATCH] AAF: fix import of embedded files shared across regions https://github.com/agfline/LibAAF/issues/5#issuecomment-1994155327 --- gtk2_ardour/ardour_ui_aaf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/ardour_ui_aaf.cc b/gtk2_ardour/ardour_ui_aaf.cc index aadef0397e..1d1ffac56c 100644 --- a/gtk2_ardour/ardour_ui_aaf.cc +++ b/gtk2_ardour/ardour_ui_aaf.cc @@ -589,7 +589,7 @@ ARDOUR_UI::new_session_from_aaf (string const& aaf, string const& target_dir, st continue; } - if (audioEssenceFile->is_embedded && !audioEssenceFile->usable_file_path) { + if (audioEssenceFile->is_embedded) { if (aafi_extractAudioEssenceFile (aafi, audioEssenceFile, AAFI_EXTRACT_DEFAULT, media_cache_path.c_str (), 0, 0, NULL, NULL) < 0) { PBD::error << string_compose ("AAF: Could not extract audio file '%1' from AAF.", audioEssenceFile->unique_name) << endmsg; essenceError++;