mi: set the log domain

This commit is contained in:
Stefan Sauer 2013-09-02 22:25:09 +02:00
parent a8f869e7fe
commit 848021eea8
3 changed files with 5 additions and 1 deletions

View file

@ -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

View file

@ -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)"\"

View file

@ -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/mediainfo/gst-mi */