mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-11 17:16:38 +01:00
prevent segfault if in/out property is missing
This commit is contained in:
parent
55ce10f498
commit
df40782b62
1 changed files with 1 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ AudioPlaylistImporter::_move ()
|
||||||
XMLProperty* out = (*it)->property("out");
|
XMLProperty* out = (*it)->property("out");
|
||||||
if (!in || !out) {
|
if (!in || !out) {
|
||||||
error << string_compose (X_("AudioPlaylistImporter (%1): did not find the \"in\" or \"out\" property from a crossfade"), name) << endmsg;
|
error << string_compose (X_("AudioPlaylistImporter (%1): did not find the \"in\" or \"out\" property from a crossfade"), name) << endmsg;
|
||||||
|
continue; // or fatal?
|
||||||
}
|
}
|
||||||
|
|
||||||
handler.update_region_id (in);
|
handler.update_region_id (in);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue