ffmpeg filter memory leak, cursor hopper fix, added leaker.C, misc fixes
[goodguy/history.git] / cinelerra-5.1 / cinelerra / vwindowgui.C
index 0c4621e2bb2f3e096dda7ae4364d708177b32c9a..f5fef954182d7565d35a78c40b13d24ada7e7584 100644 (file)
@@ -614,8 +614,7 @@ void VWindowEditing::next_label()
 double VWindowEditing::get_position()
 {
        EDL *edl = vwindow->get_edl();
-       double position = !edl ? 0 : edl->local_session->get_selectionstart(1) +
-                       edl->session->get_frame_offset() / edl->session->frame_rate;
+       double position = !edl ? 0 : edl->local_session->get_selectionstart(1);
        return position;
 }
 
@@ -624,7 +623,6 @@ void VWindowEditing::set_position(double position)
        EDL *edl = vwindow->get_edl();
        if( !edl ) return;
        if( get_position() != position ) {
-               position -= edl->session->get_frame_offset() / edl->session->frame_rate;
                if( position < 0 ) position = 0;
                edl->local_session->set_selectionstart(position);
                edl->local_session->set_selectionend(position);