X-Git-Url: https://git.cinelerra-gg.org/git/?p=goodguy%2Fcinelerra.git;a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fassetedit.C;h=6222f1c6913a05a6b686fa36f15f196c77e41abd;hp=c8ff4a9f025325d76aee5ea98880924239650139;hb=7ffa6954689f14a41a3bae7a0fdb3f2abeaa9679;hpb=0df48ad2d876409c5beeae2e21933a728ea76c33 diff --git a/cinelerra-5.1/cinelerra/assetedit.C b/cinelerra-5.1/cinelerra/assetedit.C index c8ff4a9f..6222f1c6 100644 --- a/cinelerra-5.1/cinelerra/assetedit.C +++ b/cinelerra-5.1/cinelerra/assetedit.C @@ -133,7 +133,7 @@ void AssetEdit::handle_close_event(int result) // Omit index status from copy since an index rebuild may have been // happening when new_asset was created but not be happening anymore. if( asset ) { - mwindow->remove_asset_from_caches(asset); + mwindow->remove_from_caches(asset); //printf("AssetEdit::handle_close_event %d %f\n", __LINE__, asset->get_frame_rate()); asset->copy_from(changed_params, 0); //printf("AssetEdit::handle_close_event %d %d %d\n", __LINE__, changed_params->bits, asset->bits); @@ -159,7 +159,7 @@ void AssetEdit::handle_close_event(int result) indexable->path); remove_file(index_filename); indexable->index_state->index_status = INDEX_NOTTESTED; - mwindow->mainindexes->add_next_asset(0, indexable); + mwindow->mainindexes->add_indexable(indexable); mwindow->mainindexes->start_build(); } mwindow->gui->unlock_window();