Credit Andrew - fix vorbis audio which was scratchy and ensure aging plugin does...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / zwindowgui.C
index 515d41ba047d55ade72ef7f8b3ff53f82e9bb478..94b52e1c802e642f119af86bd19a0b60a1abe199 100644 (file)
@@ -48,6 +48,8 @@ ZWindowGUI::ZWindowGUI(MWindow *mwindow, ZWindow *zwindow, Mixer *mixer)
        playback_engine = 0;
        highlighted = 0;
        playable = zwindow->playable;
+// *** CONTEXT_HELP ***
+       context_help_set_keyword("Multi-Camera");
 }
 
 ZWindowGUI::~ZWindowGUI()
@@ -114,6 +116,9 @@ int ZWindowGUI::keypress_event()
                lock_window("ZWindowGUI::keypress_event 1");
        }
 
+       if( !result )
+               result = context_help_check_and_show();
+
        return result;
 }
 
@@ -130,7 +135,7 @@ int ZWindowGUI::button_press_event()
                        start = mwindow->edl->tracks->total_recordable_length();
                        if( start < 0 ) start = end;
                }
-               if( (end-start) > 1e-4 ) {
+               if( (end-start) > 1e-4 && zwindow->edl ) {
                        LocalSession *zlocal_session = zwindow->edl->local_session;
                        zlocal_session->set_selectionstart(end);
                        zlocal_session->set_selectionend(end);