From: Good Guy Date: Sat, 16 Mar 2019 02:54:37 +0000 (-0600) Subject: fix uninitialize in awdw gui view popup, repair renderengine tracking position update X-Git-Tag: 2019-08~81 X-Git-Url: https://cinelerra-gg.org/git/?a=commitdiff_plain;h=dbd8d1e805e79d8926fc02351694e5571e82dcf0;p=goodguy%2Fcinelerra.git fix uninitialize in awdw gui view popup, repair renderengine tracking position update --- diff --git a/cinelerra-5.1/cinelerra/awindowgui.C b/cinelerra-5.1/cinelerra/awindowgui.C index 265f31ae..33a69aee 100644 --- a/cinelerra-5.1/cinelerra/awindowgui.C +++ b/cinelerra-5.1/cinelerra/awindowgui.C @@ -326,6 +326,7 @@ AssetViewPopup::AssetViewPopup(VIconThread *vt, int draw_mode, { this->draw_mode = draw_mode; this->bar_h = (VIEW_POPUP_BAR_H * h) / 200; + dragging = 0; } AssetViewPopup::~AssetViewPopup() diff --git a/cinelerra-5.1/cinelerra/renderengine.C b/cinelerra-5.1/cinelerra/renderengine.C index aa16aafa..25b8fbad 100644 --- a/cinelerra-5.1/cinelerra/renderengine.C +++ b/cinelerra-5.1/cinelerra/renderengine.C @@ -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 ) :