From c2b2953f8c051743729bfa3328336abf19a25587 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 12 Oct 2013 22:55:54 +0200 Subject: export video-range: add to context menu --- gtk2_ardour/editor.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gtk2_ardour/editor.cc') diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc index fc4b6f4d6c..cf3eab5724 100644 --- a/gtk2_ardour/editor.cc +++ b/gtk2_ardour/editor.cc @@ -1911,6 +1911,9 @@ Editor::add_selection_context_items (Menu_Helpers::MenuList& edit_items) edit_items.push_back (MenuElem (_("Bounce Range to Region List"), sigc::bind (sigc::mem_fun(*this, &Editor::bounce_range_selection), false, false))); edit_items.push_back (MenuElem (_("Bounce Range to Region List With Processing"), sigc::bind (sigc::mem_fun(*this, &Editor::bounce_range_selection), false, true))); edit_items.push_back (MenuElem (_("Export Range..."), sigc::mem_fun(*this, &Editor::export_selection))); + if (ARDOUR_UI::instance()->video_timeline->get_duration() > 0) { + edit_items.push_back (MenuElem (_("Export Video Range..."), sigc::bind (sigc::mem_fun(*this, &Editor::export_video), true))); + } } -- cgit v1.2.3