mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-30 18:37:40 +01:00
correctly manage video sync state
git-svn-id: svn://localhost/ardour2/trunk@1844 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
64b3e3be80
commit
c6df33a82d
2 changed files with 2 additions and 6 deletions
|
|
@ -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")) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue