diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2013-09-02 22:25:09 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2013-09-15 19:50:32 +0200 |
commit | 848021eea8fe8dadf6f410f835037283d3f25879 (patch) | |
tree | 19e91a282abf3a22b254d1400274623c80b928f8 /mediainfo | |
parent | a8f869e7fefa4be8176f811fc1c8e3916884c067 (diff) |
mi: set the log domain
Diffstat (limited to 'mediainfo')
-rw-r--r-- | mediainfo/HACKING | 4 | ||||
-rw-r--r-- | mediainfo/src/Makefile.am | 1 | ||||
-rw-r--r-- | mediainfo/vapi/config.vapi | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/mediainfo/HACKING b/mediainfo/HACKING index 91b7010..de7dff1 100644 --- a/mediainfo/HACKING +++ b/mediainfo/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/mediainfo/src/Makefile.am b/mediainfo/src/Makefile.am index a36453e..fe7489e 100644 --- a/mediainfo/src/Makefile.am +++ b/mediainfo/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/mediainfo/vapi/config.vapi b/mediainfo/vapi/config.vapi index 9a94665..4b8f532 100644 --- a/mediainfo/vapi/config.vapi +++ b/mediainfo/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/mediainfo/gst-mi */ |