idx = -1;
edl = 0;
highlighted = 0;
- destroy = 1;
title[0] = 0;
zgui = 0;
}
void ZWindow::handle_done_event(int result)
{
- if( destroy )
+ stop_playback(1);
+ if( result )
mwindow->del_mixer(this);
idx = -1;
}
void ZWindow::change_source(EDL *edl)
{
if( this->edl == edl ) return;
- if( !edl || !this->edl || this->edl->equivalent_output(edl) >= 0 )
- zgui->playback_engine->refresh_frame(CHANGE_ALL, edl);
+ zgui->playback_engine->refresh_frame(CHANGE_ALL, edl);
if( this->edl )
this->edl->remove_user();
this->edl = edl;