summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Sauer <ensonic@users.sf.net>2013-09-02 22:25:09 +0200
committerStefan Sauer <ensonic@users.sf.net>2013-09-02 22:25:09 +0200
commitc5f30f471a805035703e821924022c872713b231 (patch)
tree4af6a5a7a75abfcddbcaaa4b615f410cb72d363f
parentaa408a1204307d4e82c22877772448c3252a7a59 (diff)
mi: set the log domain
-rw-r--r--HACKING4
-rw-r--r--src/Makefile.am1
-rw-r--r--vapi/config.vapi1
3 files changed, 5 insertions, 1 deletions
diff --git a/HACKING b/HACKING
index 91b7010..de7dff1 100644
--- a/HACKING
+++ b/HACKING
@@ -1,4 +1,3 @@
-
= Releases =
- bump version in configure.ac
@@ -29,3 +28,6 @@
- update web-page
+= Hacking =
+
+use G_MESSAGES_DEBUG="gst-mi" to see the logging
diff --git a/src/Makefile.am b/src/Makefile.am
index a36453e..fe7489e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -3,6 +3,7 @@ bin_PROGRAMS = gst-mi
INCLUDES = \
-include config.h \
$(MI_CFLAGS) \
+ -DG_LOG_DOMAIN=\"gst-mi\" \
-DLOCALEDIR=\""$(localedir)"\" \
-DPKGDATADIR=\""$(pkgdatadir)"\" \
-DPKGLIBDIR=\""$(pkglibdir)"\"
diff --git a/vapi/config.vapi b/vapi/config.vapi
index f130479..79c027d 100644
--- a/vapi/config.vapi
+++ b/vapi/config.vapi
@@ -11,6 +11,7 @@ namespace Config
/* Configured paths - these variables are not present in config.h, they are
* passed to underlying C code as cmd line macros. */
+ public const string G_LOG_DOMAIN;
public const string LOCALEDIR; /* /usr/local/share/locale */
public const string PKGDATADIR; /* /usr/local/share/gst-mi */
public const string PKGLIBDIR; /* /usr/local/lib/gst-mi */