if(asset)
mwindow->asset_to_edl(this->edl, asset);
else
- mwindow->edl_to_nested(this->edl, nested_edl);
+ this->edl->to_nested(nested_edl);
// Update GUI
gui->change_source(this->edl, title);
if( playback_engine->is_playing_back )
stop_playback(1);
- gui->lock_window("VWindow::change_source 3");
//printf("VWindow::change_source %d %p\n", __LINE__, edl);
// EDLs are identical
// if(edl && mwindow->edl->vwindow_edl &&
// edl->id == mwindow->edl->vwindow_edl->id) return;
if(edl && get_edl() && edl->id == get_edl()->id) return;
+ gui->lock_window("VWindow::change_source 3");
+
delete_source(1, 0);
if(edl)
double position = edl->local_session->get_selectionstart(1);
if(lock_window) gui->lock_window("VWindow::update_position");
gui->clock->update(position);
+ gui->timebar->update(1);
if(lock_window) gui->unlock_window();
}
}
double start = edl->local_session->get_selectionstart();
double end = edl->local_session->get_selectionend();
FileXML file;
- edl->copy(start,
- end,
- 0,
- 0,
- 0,
- &file,
- "",
- 1);
+ edl->copy(start, end, 0, &file, "", 1);
const char *file_string = file.string();
long file_length = strlen(file_string);
mwindow->gui->lock_window();