13
0

update GUI while waiting for video server to respond

This commit is contained in:
Robin Gareus 2014-04-20 02:50:38 +02:00
parent 0524f1ec14
commit 1ea6321ad5

View File

@ -3555,6 +3555,7 @@ ARDOUR_UI::start_video_server (Gtk::Window* float_window, bool popup_msg)
int timeout = 120; // 6 sec
while (!ARDOUR_UI::instance()->video_timeline->check_server()) {
Glib::usleep (50000);
gui_idle_handler();
if (--timeout <= 0 || !video_server_process->is_running()) break;
}
if (timeout <= 0) {