X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvrender.C;h=6438443019e6bc9bfee9a12395663a8d56d08ae2;hp=43893b2770106845d2fbe6533eadb657bc1e3d81;hb=9303c74f396d12f0fb48639ff6a835824cbc5987;hpb=a1ac06b20d3f74749b612998908e70fbac7f48ab diff --git a/cinelerra-5.1/cinelerra/vrender.C b/cinelerra-5.1/cinelerra/vrender.C index 43893b27..64384430 100644 --- a/cinelerra-5.1/cinelerra/vrender.C +++ b/cinelerra-5.1/cinelerra/vrender.C @@ -288,7 +288,7 @@ int VRender::get_colormodel(VEdit *playable_edit, int use_vconsole, int use_bren void VRender::run() { - int reconfigure; + int reconfigure = 1; const int debug = 0; // Want to know how many samples rendering each frame takes. @@ -322,13 +322,13 @@ void VRender::run() // Want the condition before, since only 1 frame is rendered // and the number of frames skipped after this frame varies. current_input_length = 1; - - reconfigure = vconsole->test_reconfigure(current_position, - current_input_length); - - + if( !reconfigure ) reconfigure = + vconsole->test_reconfigure(current_position, current_input_length); if(debug) printf("VRender::run %d\n", __LINE__); - if(reconfigure) restart_playback(); + if( reconfigure ) { + restart_playback(); + reconfigure = 0; + } if(debug) printf("VRender::run %d\n", __LINE__); process_buffer(current_position, use_opengl);