correctly manage video sync state

git-svn-id: svn://localhost/ardour2/trunk@1844 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-05-15 13:16:59 +00:00
parent 64b3e3be80
commit c6df33a82d
2 changed files with 2 additions and 6 deletions

View file

@ -857,7 +857,7 @@ bool
Session::maybe_sync_start (nframes_t& nframes, nframes_t& offset)
{
nframes_t sync_offset;
if (!waiting_for_sync_offset) {
return false;
}

View file

@ -3265,11 +3265,7 @@ Session::config_changed (const char* parameter_name)
} else if (PARAM_IS ("use-video-sync")) {
if (transport_stopped()) {
if (Config->get_use_video_sync()) {
waiting_for_sync_offset = true;
}
}
waiting_for_sync_offset = Config->get_use_video_sync();
} else if (PARAM_IS ("mmc-control")) {