X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Feditor_videotimeline.cc;h=e087034af0cfe6b897091d6274cd0a69517f95a9;hb=0e9dab6aabc2efddc957c7c71bc55354c16626ed;hp=c4987bceb54e6dff6fb69fc5b3fad278a6305ec4;hpb=c90400364a6d057fc101ceff30b07f4b6863cd84;p=ardour.git diff --git a/gtk2_ardour/editor_videotimeline.cc b/gtk2_ardour/editor_videotimeline.cc index c4987bceb5..e087034af0 100644 --- a/gtk2_ardour/editor_videotimeline.cc +++ b/gtk2_ardour/editor_videotimeline.cc @@ -18,7 +18,7 @@ */ -#include +#include "pbd/gstdio_compat.h" #include "ardour/profile.h" #include "ardour/rc_configuration.h" @@ -35,7 +35,7 @@ #include "interthread_progress_window.h" #include "pbd/openuri.h" -#include "i18n.h" +#include "pbd/i18n.h" using namespace std; @@ -53,6 +53,9 @@ Editor::set_video_timeline_height (const int h) void Editor::update_video_timeline (bool flush) { + // catch GUIIdle -> Editor::idle_visual_changer during quit/close + assert (ARDOUR_UI::instance()->video_timeline); + if (flush) { ARDOUR_UI::instance()->video_timeline->flush_local_cache(); }