mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
vtl: query video-monitor-state on explicit session save
This commit is contained in:
parent
ed1f310f10
commit
082de27a4e
1 changed files with 3 additions and 1 deletions
|
|
@ -95,6 +95,9 @@ VideoTimeLine::save_session ()
|
||||||
_session->add_extra_xml (*node);
|
_session->add_extra_xml (*node);
|
||||||
|
|
||||||
if (vmonitor) {
|
if (vmonitor) {
|
||||||
|
if (vmonitor->is_started()) {
|
||||||
|
vmonitor->query_full_state(true);
|
||||||
|
}
|
||||||
vmonitor->save_session();
|
vmonitor->save_session();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -130,7 +133,6 @@ VideoTimeLine::sync_session_state ()
|
||||||
if (!_session || !vmonitor || !vmonitor->is_started()) {
|
if (!_session || !vmonitor || !vmonitor->is_started()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
vmonitor->query_full_state(true);
|
|
||||||
save_session();
|
save_session();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue