[grilo-plugins] shoutcast: Add plugin ID from configure's constant



commit adb082e05371e3c1e570a94f49641ac771099077
Author: Joaquim Rocha <jrocha igalia com>
Date:   Mon Jun 21 20:40:36 2010 +0200

    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"



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