summaryrefslogtreecommitdiff
path: root/libs/ardour/export_format_manager.cc
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2008-09-29 10:02:35 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2008-09-29 10:02:35 +0000
commit474f8bc37623f48f7e69dff57aee233c99f6d07c (patch)
treeba5a457e177c60ba36f92248e90323b2ac84f622 /libs/ardour/export_format_manager.cc
parent400f8bb03dea167c4b1f17b2cc80cf24a0bd4679 (diff)
Made Export format compatibility checking a bit more robust
git-svn-id: svn://localhost/ardour2/branches/3.0@3829 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_format_manager.cc')
-rw-r--r--libs/ardour/export_format_manager.cc8
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