diff options
Diffstat (limited to 'libs/ardour/export_format_manager.cc')
-rw-r--r-- | libs/ardour/export_format_manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/ardour/export_format_manager.cc b/libs/ardour/export_format_manager.cc index a1d1b72629..2a41a8b150 100644 --- a/libs/ardour/export_format_manager.cc +++ b/libs/ardour/export_format_manager.cc @@ -185,15 +185,15 @@ ExportFormatManager::init_formats () fl_ptr->set_extension ("raw"); add_format (f_ptr); - if (ExportFormatOggVorbis::check_system_compatibility()) { + try { f_ptr.reset (new ExportFormatOggVorbis ()); add_format (f_ptr); - } + } catch (ExportFormatIncompatible & e) {} - if (ExportFormatFLAC::check_system_compatibility()) { + try { f_ptr.reset (new ExportFormatFLAC ()); add_format (f_ptr); - } + } catch (ExportFormatIncompatible & e) {} } void |