diff options
author | Robin Gareus <robin@gareus.org> | 2013-10-12 22:55:54 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2013-10-12 22:56:08 +0200 |
commit | c2b2953f8c051743729bfa3328336abf19a25587 (patch) | |
tree | 6323409c95dd74d2c8801eb733fdcb8c17805450 /gtk2_ardour/editor.cc | |
parent | f7c54f1435da2f87a40bf8549b8d732995b84bfc (diff) |
export video-range: add to context menu
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r-- | gtk2_ardour/editor.cc | 3 |
1 files changed, 3 insertions, 0 deletions
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))); + } } |