Don't allow to deactivate meter.
[ardour.git] / libs / ardour / export_graph_builder.cc
index cc7992ecd258a660cd9067807049e3db0e74740a..c7875c0b9b62ab1429f2e5ce23cc93d830f42f9d 100644 (file)
@@ -129,7 +129,7 @@ ExportGraphBuilder::add_config (FileSpec const & config)
        // If the sample rate is "session rate", change it to the real value.
        // However, we need to copy it to not change the config which is saved...
        FileSpec new_config (config);
-       new_config.format.reset(new ExportFormatSpecification(*new_config.format));
+       new_config.format.reset(new ExportFormatSpecification(*new_config.format, false));
        if(new_config.format->sample_rate() == ExportFormatBase::SR_Session) {
                framecnt_t session_rate = session.nominal_frame_rate();
                new_config.format->set_sample_rate(ExportFormatBase::nearest_sample_rate(session_rate));