vtl: rework session-needs-save logic
authorRobin Gareus <robin@gareus.org>
Tue, 9 Apr 2013 02:05:07 +0000 (04:05 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 9 Apr 2013 02:05:46 +0000 (04:05 +0200)
commited1f310f109279347906bbcb85757b5a54792e26
treed4f1dba2351bac25b83250fffe8a6bfdfba93e61
parent49ddf8ecce0027e5cb96de2d361aec8d74b3c921
vtl: rework session-needs-save logic

* videotimeline now immediately marks the session dirty on
  every state-changing operation
* video-montor is polled every 2.5 seconds for menu-relevant state info
  (ontop, OSD,..) and every 30 seconds for full state (window pos, size,..)
* new interface to query the video-monitor for its state and wait for
  all replies - terminating the process and using ::wait() is no longer
  required
* Ardour> quit and Ardour > close-session does no longer close the video
  session to enforce video-monitor state sync but uses above new interface
gtk2_ardour/ardour_ui.cc
gtk2_ardour/ardour_ui_dialogs.cc
gtk2_ardour/video_monitor.cc
gtk2_ardour/video_monitor.h
gtk2_ardour/video_timeline.cc
gtk2_ardour/video_timeline.h