X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplaytransport.C;h=0690da07bd8bd1db2119e1dfb06e9a9eee22c9ce;hb=9c8644d5f3f05b52a81c259c32217bcd57792ae5;hp=569fdbe2150b9d81502cb3bfdb7c25d8b4d509a8;hpb=253199c03ee8a0247e1ee7f9ba063c320f705aea;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/playtransport.C b/cinelerra-5.1/cinelerra/playtransport.C index 569fdbe2..0690da07 100644 --- a/cinelerra-5.1/cinelerra/playtransport.C +++ b/cinelerra-5.1/cinelerra/playtransport.C @@ -210,7 +210,7 @@ int PlayTransport::do_keypress(int key) 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;