projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mixer align audio, track dump tweak, zwdw refresh edl fix, sketcher tweak
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
zwindow.C
diff --git
a/cinelerra-5.1/cinelerra/zwindow.C
b/cinelerra-5.1/cinelerra/zwindow.C
index 6508b9e457673f05853e4bc9258d15cfdc8db445..65c3f31cbadfd4df621f19ba175cf5c394ae2ff1 100644
(file)
--- a/
cinelerra-5.1/cinelerra/zwindow.C
+++ b/
cinelerra-5.1/cinelerra/zwindow.C
@@
-218,12
+218,11
@@
void ZWindow::handle_close_event(int result)
void ZWindow::change_source(EDL *edl)
{
void ZWindow::change_source(EDL *edl)
{
- if( this->edl && edl != this->edl )
+ if( this->edl == edl ) return;
+ zgui->playback_engine->refresh_frame(CHANGE_ALL, edl);
+ if( this->edl )
this->edl->remove_user();
this->edl = edl;
this->edl->remove_user();
this->edl = edl;
- if( edl != 0 ) {
- zgui->playback_engine->refresh_frame(CHANGE_ALL, edl);
- }
}
void ZWindow::stop_playback(int wait)
}
void ZWindow::stop_playback(int wait)