fix uninitialize in awdw gui view popup, repair renderengine tracking position update
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / renderengine.C
index aa16aaf..25b8fba 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 ) :