X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Fcinelerra%2Fassetedit.C;h=c7ef9f24e8755e62e090172fe514f021233b95fb;hb=5aad2133f228b736f033d6c48e1629078b858286;hp=443733cc18d4df3714b59b5fc3059e8a6198e2c4;hpb=94e8dc2b306135e7735b2618a54f0f7de7ac7a0c;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/cinelerra/assetedit.C b/cinelerra-5.0/cinelerra/assetedit.C index 443733cc..c7ef9f24 100644 --- a/cinelerra-5.0/cinelerra/assetedit.C +++ b/cinelerra-5.0/cinelerra/assetedit.C @@ -68,6 +68,7 @@ AssetEdit::AssetEdit(MWindow *mwindow) AssetEdit::~AssetEdit() { + close_window(); changed_params->remove_user(); } @@ -76,7 +77,7 @@ void AssetEdit::edit_asset(Indexable *indexable) { if(this->indexable) { - BC_DialogThread::close_window(); + close_window(); } this->indexable = indexable; @@ -813,10 +814,10 @@ void DetailAssetWindow::create_objects() if( !mwindow->preferences->get_asset_file_path(asset, file_name) ) { switch( asset->format ) { case FILE_MPEG: - FileMPEG::get_info(asset->path, file_name, &info[0]); + FileMPEG::get_info(asset->path, file_name, &info[0],len); break; case FILE_FFMPEG: - FileFFMPEG::get_info(asset->path, &info[0]); + FileFFMPEG::get_info(asset->path, &info[0],len); break; } }