mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Log an error message when ignoring invalid SMF
This commit is contained in:
parent
9786e6035f
commit
49c71cb3ef
1 changed files with 1 additions and 0 deletions
|
|
@ -485,6 +485,7 @@ write_midi_type1_data_to_one_file (Evoral::SMF* source, ImportStatus& status, st
|
|||
*/
|
||||
|
||||
if (track >= source->num_tracks() - 1) {
|
||||
error << _("Type 1 SMF lacks required meta-data track.") << endmsg;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue