correctly manage video sync state
git-svn-id: svn://localhost/ardour2/trunk@1844 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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")) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user