From 2e55f4452fa50fab9549c04797a4e962c11e8273 Mon Sep 17 00:00:00 2001 From: John Emmas Date: Fri, 10 May 2024 15:01:43 +0100 Subject: [PATCH] As we've yet to implement user options, let's prefer AAF filenames rather than extracting an internal Comp name This helps to avoid situations where 2 x unrelated AAF imports use the same name internally - and/or they give us meaningless session names like "Untitled.ardour" --- 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 0adf492317..964b8d1aff 100644 --- a/gtk2_ardour/ardour_ui_aaf.cc +++ b/gtk2_ardour/ardour_ui_aaf.cc @@ -466,7 +466,7 @@ ARDOUR_UI::new_session_from_aaf (string const& aaf, string const& target_dir, st } /* extract or set session name */ - if (aafi->compositionName && aafi->compositionName[0] != 0x00) { + if (/* Temporary - in the absence of user-options, don't rely on extracted session names which can be meaningless... aafi->compositionName && aafi->compositionName[0] != */ 0x00) { string compositionName = string (aafi->compositionName); snapshot = laaf_util_clean_filename (&compositionName[0]); } else {