X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fsession_export.cc;h=4f46535a978e88429c8e350a8da13afb1eb1d162;hb=65c8d673a2f88db61c68bf119f9dccbe82efd9ff;hp=7737e952796a8735ff89260fe12f81260ed159da;hpb=577469a06aa48310ec5cd9a6428f32c35fca5fcb;p=ardour.git diff --git a/libs/ardour/session_export.cc b/libs/ardour/session_export.cc index 7737e95279..4f46535a97 100644 --- a/libs/ardour/session_export.cc +++ b/libs/ardour/session_export.cc @@ -178,7 +178,7 @@ Session::process_export (pframes_t nframes) ProcessExport (nframes); } catch (std::exception & e) { - std::cout << e.what() << std::endl; + error << string_compose (_("Export ended unexpectedly: %1"), e.what()) << endmsg; export_status->abort (true); } } @@ -222,6 +222,9 @@ Session::finalize_audio_export () _engine.freewheel (false); export_freewheel_connection.disconnect(); + + /* maybe write CUE/TOC */ + export_handler.reset(); export_status.reset();