mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-22 14:46:34 +01:00
Made Export format compatibility checking a bit more robust
git-svn-id: svn://localhost/ardour2/branches/3.0@3829 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
400f8bb03d
commit
474f8bc376
3 changed files with 29 additions and 31 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue