Move some sync-related options to being session variables.
[ardour.git] / libs / ardour / session_state.cc
index 6af308a9b88938df106323ed675dd22d4b2dfe46..4d07a6c6e26db883651860a941ef68e0e61456e4 100644 (file)
@@ -230,7 +230,7 @@ Session::first_stage_init (string fullpath, string snapshot_name)
 
        process_function = &Session::process_with_events;
 
-       if (Config->get_use_video_sync()) {
+       if (config.get_use_video_sync()) {
                waiting_for_sync_offset = true;
        } else {
                waiting_for_sync_offset = false;
@@ -3062,7 +3062,7 @@ Session::config_changed (std::string p, bool ours)
 
        } else if (p == "use-video-sync") {
 
-               waiting_for_sync_offset = Config->get_use_video_sync();
+               waiting_for_sync_offset = config.get_use_video_sync();
 
        } else if (p == "mmc-control") {