projects
/
goodguy
/
cinelerra.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rework proxy scaler, fix crop-gui coord, video_data tweak for proxy_format
[goodguy/cinelerra.git]
/
cinelerra-5.1
/
cinelerra
/
playtransport.C
diff --git
a/cinelerra-5.1/cinelerra/playtransport.C
b/cinelerra-5.1/cinelerra/playtransport.C
index 4cb51aa75b7ce068848d30fa4cd5414cb2047aee..0690da07bd8bd1db2119e1dfb06e9a9eee22c9ce 100644
(file)
--- a/
cinelerra-5.1/cinelerra/playtransport.C
+++ b/
cinelerra-5.1/cinelerra/playtransport.C
@@
-132,7
+132,7
@@
int PlayTransport::get_w()
int PlayTransport::is_stopped()
{
int PlayTransport::is_stopped()
{
- return engine->
command->command == STOP ? 1 : 0
;
+ return engine->
is_playing_back ? 0 : 1
;
}
int PlayTransport::flip_vertical(int vertical, int &x, int &y)
}
int PlayTransport::flip_vertical(int vertical, int &x, int &y)
@@
-210,7
+210,7
@@
int PlayTransport::do_keypress(int key)
int loop_play = shft_key & ctrl_key;
float speed = 0;
int command = -1;
int loop_play = shft_key & ctrl_key;
float speed = 0;
int command = -1;
- int curr_command = engine->
command->command
;
+ int curr_command = engine->
is_playing_back ? engine->command->command : STOP
;
subwindow->unlock_window();
result = 0;
subwindow->unlock_window();
result = 0;