projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
audio chan pos rework, batchrender deadlock, titler/crikey grab_event tweak, thread...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
cwindow.C
diff --git
a/cinelerra-5.1/cinelerra/cwindow.C
b/cinelerra-5.1/cinelerra/cwindow.C
index 063f4e05c9a0f29032143850891afadfe7b0fddb..7152f5a671206b40820044c6afe77d521063ca59 100644
(file)
--- a/
cinelerra-5.1/cinelerra/cwindow.C
+++ b/
cinelerra-5.1/cinelerra/cwindow.C
@@
-215,9
+215,10
@@
void CWindow::calculate_affected_autos(FloatAuto **x_auto,
}
}
}
}
-
-
-
+void CWindow::stop_playback(int wait)
+{
+ playback_engine->stop_playback(wait);
+}
void CWindow::run()
{
void CWindow::run()
{
@@
-233,10
+234,7
@@
void CWindow::update(int position,
if(position)
{
if(position)
{
- playback_engine->que->send_command(CURRENT_FRAME,
- CHANGE_NONE,
- mwindow->edl,
- 1);
+ refresh_frame(CHANGE_NONE);
}
gui->lock_window("CWindow::update 2");
}
gui->lock_window("CWindow::update 2");
@@
-307,8
+305,16
@@
int CWindow::update_position(double position)
return 1;
}
return 1;
}
+void CWindow::refresh_frame(int change_type, EDL *edl)
+{
+ mwindow->refresh_mixers();
+ playback_engine->refresh_frame(change_type, edl);
+}
-
+void CWindow::refresh_frame(int change_type)
+{
+ refresh_frame(change_type, mwindow->edl);
+}
CWindowRemoteHandler::
CWindowRemoteHandler(RemoteControl *remote_control)
CWindowRemoteHandler::
CWindowRemoteHandler(RemoteControl *remote_control)