X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;ds=sidebyside;f=cinelerra-5.1%2Fcinelerra%2Fmwindow.C;h=c959af278e7dd832f0a173c6ba3b8df2fe8b2a50;hb=86c9537e0540010ff43b16feb4cd7de98409eba1;hp=c63c25bee2c8815e68d24684ef61758701388667;hpb=e854f4eeda320c2626780afdac9546f482de54b1;p=goodguy%2Fcinelerra.git diff --git a/cinelerra-5.1/cinelerra/mwindow.C b/cinelerra-5.1/cinelerra/mwindow.C index c63c25be..c959af27 100644 --- a/cinelerra-5.1/cinelerra/mwindow.C +++ b/cinelerra-5.1/cinelerra/mwindow.C @@ -268,7 +268,9 @@ MWindow::~MWindow() delete beeper; delete create_bd; create_bd = 0; delete create_dvd; create_dvd = 0; +#ifdef HAVE_SHUTTLE delete shuttle; shuttle = 0; +#endif #ifdef HAVE_WINTV delete wintv; wintv = 0; #endif @@ -675,6 +677,7 @@ int MWindow::init_plugins(MWindow *mwindow, Preferences *preferences) int MWindow::init_ladspa_plugins(MWindow *mwindow, Preferences *preferences) { +#ifdef HAVE_LADSPA char *path = getenv("LADSPA_PATH"); char ladspa_path[BCTEXTLEN]; if( !path ) { @@ -719,6 +722,7 @@ int MWindow::init_ladspa_plugins(MWindow *mwindow, Preferences *preferences) } fclose(fp); } +#endif return 1; } @@ -742,7 +746,7 @@ void MWindow::scan_plugin_index(MWindow *mwindow, Preferences *preferences, FILE char plugin_path[BCTEXTLEN]; sprintf(plugin_path, "%s/%s", plug_dir, plug_path); FileSystem fs; - fs.set_filter( "[*.plugin][*.so]" ); + fs.set_filter( "[*.plugin][*.so][*.dll]" ); int result = fs.update(plugin_path); if( result || !fs.dir_list.total ) return; int vis_id = idx++; @@ -4287,7 +4291,10 @@ void MWindow::save_project(const char *dir, int save_mode, int overwrite, int re char progress_title[BCTEXTLEN]; sprintf(progress_title, _("Saving to %s:\n"), dir); int total_assets = save_edl->assets->total(); + gui->lock_window("MWindow::save_project"); MainProgressBar *progress = mainprogress->start_progress(progress_title, total_assets); + gui->unlock_window(); + int ret = 0; Asset *current = save_edl->assets->first; for( int i=0; !ret && current; ++i, current=NEXT ) {