wintv remote control + kernel patch, add codec fileref, amp up OpenEDL, add loadmode...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / assetedit.C
index c8ff4a9f025325d76aee5ea98880924239650139..6222f1c6913a05a6b686fa36f15f196c77e41abd 100644 (file)
@@ -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();