[PATCH 11/30] shoutcast: Add plugin ID from configure's constant



---
 configure.ac                  |    3 +++
 src/shoutcast/grl-shoutcast.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index 03a6b45..bb66d26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -464,6 +464,9 @@ then
 	GRL_PLUGINS_ENABLED="$GRL_PLUGINS_ENABLED shoutcast"
 fi
 
+SHOUTCAST_PLUGIN_ID="grl-shoutcast"
+AC_DEFINE_UNQUOTED([SHOUTCAST_PLUGIN_ID], ["$SHOUTCAST_PLUGIN_ID"], [Shoutcast plugin ID])
+
 # ----------------------------------------------------------
 # BUILD APPLE TRAILERS PLUGIN
 # ----------------------------------------------------------
diff --git a/src/shoutcast/grl-shoutcast.c b/src/shoutcast/grl-shoutcast.c
index f2c70f5..f9a8b5d 100644
--- a/src/shoutcast/grl-shoutcast.c
+++ b/src/shoutcast/grl-shoutcast.c
@@ -54,7 +54,7 @@
 
 /* --- Plugin information --- */
 
-#define PLUGIN_ID   "grl-shoutcast"
+#define PLUGIN_ID   SHOUTCAST_PLUGIN_ID
 
 #define SOURCE_ID   "grl-shoutcast"
 #define SOURCE_NAME "SHOUTcast"
-- 
1.7.0.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]