fix uninitialize in awdw gui view popup, repair renderengine tracking position update
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / renderengine.C
index aa16aafaca6a4347c93cee82d0f0e35de91a906d..25b8fbadf4eba14bc855b5a51353395ea80b7388 100644 (file)
@@ -468,7 +468,7 @@ void RenderEngine::run()
        close_output();
 
        if( playback_engine ) {
-               double position = command->single_frame() ? command->playbackstart :
+               double position = command->command == CURRENT_FRAME ? command->playbackstart :
                        playback_engine->is_playing_back && !interrupted ?
                                ( command->get_direction() == PLAY_FORWARD ?
                                        command->end_position : command->start_position ) :