diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-28 06:35:33 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-28 06:35:33 +0100 |
commit | a4851954536bb7706fbf25fcf44242cd5454b5fd (patch) | |
tree | 3dbed498b45cb8275c6fbda85379db27a8bda7cc /libs/gtkmm2ext | |
parent | 016eaddad72a369022d1f7f29ecbbbed17bef3f5 (diff) |
Ensure that regions have sources when saving
Otherwise this will lead to a corrupt state:
ERROR: Session: XMLNode describing a AudioRegion references an unknown source id
ERROR: Session: cannot create Region from XML description. Can not load state for region
ERROR: Playlist: cannot create region from XML
and a track without playlist is created, resulting in a later crash.
Eventually SessionPlaylists::load() needs to handle this gracefully,
but this should help catch cases causing the actual issue.
Diffstat (limited to 'libs/gtkmm2ext')
0 files changed, 0 insertions, 0 deletions