X-Git-Url: https://cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Frecord.C;h=2dd9e2c5e60ae55df8a7936d0509a05847e73262;hb=83c58d6d78f6bf0d1d1fd4cfba8654906fe6ec29;hp=96ec0f8236284bd5a88f6fa504dd728d3e6ec89d;hpb=7fd85fb66168f6b518c5f2d73e04036e87faa0e1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/record.C b/cinelerra-5.1/cinelerra/record.C index 96ec0f82..2dd9e2c5 100644 --- a/cinelerra-5.1/cinelerra/record.C +++ b/cinelerra-5.1/cinelerra/record.C @@ -432,7 +432,7 @@ void Record::run() mwindow->undo->update_undo_after(_("record"), LOAD_ALL); mwindow->restart_brender(); mwindow->update_plugin_guis(); - mwindow->gui->update(1, 2, 1, 1, 1, 1, 0); + mwindow->gui->update(1, FORCE_REDRAW, 1, 1, 1, 1, 0); mwindow->sync_parameters(CHANGE_ALL); } mwindow->gui->unlock_window(); @@ -474,9 +474,7 @@ void Record::activate_batch(int number) void Record::delete_index_file(Asset *asset) { - IndexFile::delete_index(mwindow->preferences, asset, ".toc"); - IndexFile::delete_index(mwindow->preferences, asset, ".idx"); - IndexFile::delete_index(mwindow->preferences, asset, ".mkr"); + IndexFile::delete_index_files(mwindow->preferences, asset); } void Record::delete_batch() @@ -1829,10 +1827,7 @@ int Record::remote_process_key(RemoteControl *remote_control, int key) break; case 'f': { Canvas *canvas = record_monitor->window->canvas; - if( !canvas->get_fullscreen() ) - canvas->start_fullscreen(); - else - canvas->stop_fullscreen(); + canvas->use_fullscreen(canvas->get_fullscreen() ? 0 : 1); break; } default: return -1;