X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fplaytransport.C;h=0690da07bd8bd1db2119e1dfb06e9a9eee22c9ce;hp=569fdbe2150b9d81502cb3bfdb7c25d8b4d509a8;hb=aa9374b902768107ebda0cffe739325ffed372f6;hpb=39c01b7242f15858ebd8847e8895ac880e464ff2 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;