projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clip folder bug on reload, expander user folder drag/drop segv, remove libfdk src...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
zwindow.C
diff --git
a/cinelerra-5.1/cinelerra/zwindow.C
b/cinelerra-5.1/cinelerra/zwindow.C
index 80234ca0a77d96098f59a5a31ff96a4cd815538b..3c340844cb70734a2ccf039a2783f9606db3629a 100644
(file)
--- a/
cinelerra-5.1/cinelerra/zwindow.C
+++ b/
cinelerra-5.1/cinelerra/zwindow.C
@@
-185,6
+185,7
@@
ZWindow::ZWindow(MWindow *mwindow)
idx = -1;
edl = 0;
highlighted = 0;
idx = -1;
edl = 0;
highlighted = 0;
+ destroy = 1;
title[0] = 0;
zgui = 0;
}
title[0] = 0;
zgui = 0;
}
@@
-206,7
+207,9
@@
BC_Window* ZWindow::new_gui()
void ZWindow::handle_done_event(int result)
{
void ZWindow::handle_done_event(int result)
{
- mwindow->del_mixer(this);
+ if( destroy )
+ mwindow->del_mixer(this);
+ idx = -1;
}
void ZWindow::handle_close_event(int result)
{
}
void ZWindow::handle_close_event(int result)
{
@@
-229,10
+232,10
@@
void ZWindow::stop_playback(int wait)
}
void ZWindow::issue_command(int command, int wait_tracking,
}
void ZWindow::issue_command(int command, int wait_tracking,
- int use_inout, int update_refresh, int toggle_audio)
+ int use_inout, int update_refresh, int toggle_audio
, int loop_play
)
{
zgui->playback_engine->issue_command(edl, command,
{
zgui->playback_engine->issue_command(edl, command,
- wait_tracking, use_inout, update_refresh, toggle_audio);
+ wait_tracking, use_inout, update_refresh, toggle_audio
, loop_play
);
}
void ZWindow::update_mixer_ids()
}
void ZWindow::update_mixer_ids()