From 8af793a44d3caa74bf1ca3bc4935ebce211989c5 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 3 Sep 2022 17:55:30 +0200 Subject: [PATCH] Safeguard video-alignment in case LTC detection throws an error --- gtk2_ardour/ardour_ui_video.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk2_ardour/ardour_ui_video.cc b/gtk2_ardour/ardour_ui_video.cc index 39fbb26a5c..249ab9a609 100644 --- a/gtk2_ardour/ardour_ui_video.cc +++ b/gtk2_ardour/ardour_ui_video.cc @@ -346,6 +346,7 @@ ARDOUR_UI::add_video (Gtk::Window* float_window) */ } catch (...) { // LTCFileReader will have written error messages + ltc_seq.clear (); } ::g_unlink(audio_from_video.c_str());