vtl: remove video-maintenance menu
* only really relevant for testing/debugging. * the back-end functions are still used for 'normal' operation and called implicitly when opening/closing a video. * call stop_video_server() when removing a video.
This commit is contained in:
@@ -37,11 +37,6 @@
|
||||
#ifdef WITH_VIDEOTIMELINE
|
||||
<menuitem action='OpenVideo'/>
|
||||
<menuitem action='CloseVideo'/>
|
||||
<menu name='Video' action='Video'>
|
||||
<menuitem action='StartVideoServer'/>
|
||||
<menuitem action='StopVideoServer'/>
|
||||
<menuitem action='VideoTimelineFlushCache'/>
|
||||
</menu>
|
||||
#endif
|
||||
<menu name='Export' action='Export'>
|
||||
<menuitem action='ExportAudio'/>
|
||||
|
||||
@@ -3562,6 +3562,7 @@ ARDOUR_UI::remove_video ()
|
||||
_session->add_extra_xml(*node);
|
||||
node = new XMLNode(X_("Videomonitor"));
|
||||
_session->add_extra_xml(*node);
|
||||
stop_video_server();
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -142,17 +142,6 @@ ARDOUR_UI::install_actions ()
|
||||
act = ActionManager::register_action (main_actions, X_("ExportVideo"), _("Export To Video File"),
|
||||
sigc::mem_fun (*editor, &PublicEditor::export_video));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
act = ActionManager::register_action (main_actions, X_("Video"), _("Video maintenance"));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
act = ActionManager::register_action (main_actions, X_("StartVideoServer"), _("Start Video Server"),
|
||||
sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::start_video_server_menu), (Gtk::Window*) 0));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
act = ActionManager::register_action (main_actions, X_("StopVideoServer"), _("Stop Video Server"),
|
||||
sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::stop_video_server), true ));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
act = ActionManager::register_action (main_actions, X_("VideoTimelineFlushCache"), _("Reload video-files"),
|
||||
sigc::bind (sigc::mem_fun(*this, &ARDOUR_UI::flush_videotimeline_cache), false));
|
||||
ActionManager::session_sensitive_actions.push_back (act);
|
||||
#endif
|
||||
|
||||
#ifdef WITH_CMT
|
||||
|
||||
Reference in New Issue
Block a user