Commit Graph

13 Commits

Author SHA1 Message Date
agfline fc1377ae46
AAF: set session name from AAF filename instead of AAF composition name
https://github.com/agfline/LibAAF/issues/5#issuecomment-1952193515
2024-05-15 04:51:36 +02:00
Robin Gareus 7b75748299
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.
2024-05-15 04:49:43 +02:00
John Emmas 2e55f4452f 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"
2024-05-10 15:07:44 +01:00
John Emmas dc74533fab Remove a declaration that won't be needed now 2024-05-07 16:06:47 +01:00
John Emmas a345d05f0f When importing AAF's move some code so that it only gets executed once per Source, rather than once for every Region
Fixes a problem where the Editor's 'Sources' pane was showing too many entries if there were more Regions than Sources.
2024-05-07 10:32:25 +01:00
agfline 8ea3a14cd6
Update AAF import UI 2024-04-24 17:13:00 +02:00
agfline 25397d7812
AAF: Update import UI 2024-03-19 20:59:10 +01:00
agfline 52cce5adc6 AAF: fix import of embedded files shared across regions
https://github.com/agfline/LibAAF/issues/5#issuecomment-1994155327
2024-03-14 12:47:21 +01:00
agfline d03cdf86e1
Update AAF import UI 2024-03-10 22:11:58 +01:00
Robin Gareus ff82e53b85
Revert "Sanitize the AAF's snapshot name (it'll get used later to create an OS folder)"
This reverts commit b935710b60.

legalize_for_universal_path() already santizes the path in a way that is
safe for all OS.

laaf_util_clean_filename() cannot be used with .c_str() because the
function modifies the char* passed to it.

This worked in some cases before C++11, and can work with non-const
 std::string::data starting at C++17, but C++11 spec is quite clear:

> The program shall not modify any of the values stored in the
> character array; otherwise, the behavior is undefined.
2024-02-21 13:38:39 +01:00
John Emmas b935710b60 Sanitize the AAF's snapshot name (it'll get used later to create an OS folder) 2024-02-21 11:47:04 +00:00
Robin Gareus 4b582e877e
Update AAF import implementation to new libAAF API 2024-02-15 01:44:35 +01:00
Robin Gareus 0a72c1317f
Initial GUI support to load AAF sessions 2024-02-15 01:44:35 +01:00