Revert "As we've yet to implement user options, let's prefer AAF filenames rather than extracting an internal Comp name"

This reverts commit 2e55f4452f.
This commit is contained in:
Robin Gareus
2024-05-15 04:49:43 +02:00
parent 0bac1e07f5
commit 7b75748299

View File

@@ -466,7 +466,7 @@ ARDOUR_UI::new_session_from_aaf (string const& aaf, string const& target_dir, st
}
/* extract or set session name */
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) {
if (aafi->compositionName && aafi->compositionName[0] != 0x00) {
string compositionName = string (aafi->compositionName);
snapshot = laaf_util_clean_filename (&compositionName[0]);
} else {