[SCM] calf/master: + Big Bull: make directly executable + DSSI GUI: print error message if plugin name is unknown
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:37:20 UTC 2013
The following commit has been merged in the master branch:
commit 93a1bec2d8e04e68840c1b178fcce36ef2181743
Author: kfoltman <kfoltman at 78b06b96-2940-0410-b7fc-879d825d01d8>
Date: Mon Jun 23 22:43:17 2008 +0000
+ Big Bull: make directly executable
+ DSSI GUI: print error message if plugin name is unknown
git-svn-id: https://calf.svn.sourceforge.net/svnroot/calf/trunk@211 78b06b96-2940-0410-b7fc-879d825d01d8
diff --git a/bigbull/mainwin.py b/bigbull/mainwin.py
index 6a5d2e1..f1f8833 100755
--- a/bigbull/mainwin.py
+++ b/bigbull/mainwin.py
@@ -1,3 +1,4 @@
+#!/usr/bin/python
import pygtk
pygtk.require('2.0')
import gtk
diff --git a/src/dssigui.cpp b/src/dssigui.cpp
index 05cfca8..937f229 100644
--- a/src/dssigui.cpp
+++ b/src/dssigui.cpp
@@ -240,6 +240,11 @@ struct dssi_osc_server: public osc_server, public osc_message_sink<osc_strstream
void create_window()
{
plugin = create_plugin_proxy(effect_name.c_str());
+ if (!plugin)
+ {
+ fprintf(stderr, "Unknown plugin: %s\n", effect_name.c_str());
+ exit(1);
+ }
plugin->client = &cli;
plugin->send_osc = true;
((main_window *)window->main)->conditions.insert("dssi");
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list