]> git.sesse.net Git - mlt/commitdiff
Remove aborts in jackrack module.
authorDan Dennedy <dan@dennedy.org>
Mon, 30 May 2011 17:56:45 +0000 (10:56 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 30 May 2011 17:56:45 +0000 (10:56 -0700)
src/modules/jackrack/plugin.c
src/modules/jackrack/plugin_mgr.c
src/modules/jackrack/plugin_settings.c

index 592107be9eaae40f87e9f027825078f24932bf24..04f8bd56d47845b3ddb06dc7b0ba0cb30b5974cf 100644 (file)
@@ -406,7 +406,6 @@ plugin_create_aux_ports (plugin_t * plugin, guint copy, jack_rack_t * jack_rack)
       if (!holder->aux_ports[i])
         {
           mlt_log_panic( NULL, "Could not register jack port '%s'; aborting\n", port_name);
-          abort ();
         }
     }
   
index 023b702e499deabf40705fd73843cff00b057df7..032d78f3444048ccc96c2c2edcc4b30f4abc2298 100644 (file)
@@ -254,12 +254,9 @@ plugin_mgr_new ()
   plugin_mgr_get_path_plugins (pm);
   
   if (!pm->all_plugins)
-    {
-      mlt_log_warning( NULL, "No LADSPA plugins were found!\n\nCheck your LADSPA_PATH environment variable.\n");
-      abort ();
-    }
-  
-  pm->all_plugins = g_slist_sort (pm->all_plugins, plugin_mgr_sort);
+    mlt_log_warning( NULL, "No LADSPA plugins were found!\n\nCheck your LADSPA_PATH environment variable.\n");
+  else
+    pm->all_plugins = g_slist_sort (pm->all_plugins, plugin_mgr_sort);
   
   return pm;
 }
index 7284b803bcd84343f022fb4b48c7253b62fb5195..88d6a7ca46726a6652f067f696ea94c7e7c8632a 100644 (file)
@@ -23,8 +23,9 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
+#ifndef _GNU_SOURCE
 #define _GNU_SOURCE
-
+#endif
 #include <math.h>
 
 #include "plugin_settings.h"