summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/media-info/media-info-priv.h
diff options
context:
space:
mode:
authorSteve Lhomme <steve.lhomme@free.fr>2004-07-26 22:09:59 +0000
committerSteve Lhomme <steve.lhomme@free.fr>2004-07-26 22:09:59 +0000
commit6d5553036e8b1d6ac2f5aafac8e2267c3bf6b8e4 (patch)
tree8628d6bebcebd431ec1bfed51135be9decc1ddd8 /gst-libs/gst/media-info/media-info-priv.h
parentca73877c1b9d23ce906b6a8f2eaeff784a67c62d (diff)
downloadgst-plugins-bad-6d5553036e8b1d6ac2f5aafac8e2267c3bf6b8e4.tar.gz
gst-plugins-bad-6d5553036e8b1d6ac2f5aafac8e2267c3bf6b8e4.tar.bz2
gst-plugins-bad-6d5553036e8b1d6ac2f5aafac8e2267c3bf6b8e4.zip
add more plugins to the build add some definitions needed by plugins fixes for build problems
Original commit message from CVS: add more plugins to the build add some definitions needed by plugins fixes for build problems
Diffstat (limited to 'gst-libs/gst/media-info/media-info-priv.h')
-rw-r--r--gst-libs/gst/media-info/media-info-priv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gst-libs/gst/media-info/media-info-priv.h b/gst-libs/gst/media-info/media-info-priv.h
index 81ee24ab..fa4ed5c4 100644
--- a/gst-libs/gst/media-info/media-info-priv.h
+++ b/gst-libs/gst/media-info/media-info-priv.h
@@ -45,6 +45,20 @@ static gboolean _gmi_debug = FALSE;
#define GMI_DEBUG(format, args...) \
{ if (_gmi_debug) { g_print ( format , ## args ); }}
+#else
+
+static inline void
+GMI_DEBUG (const char *format, ...)
+{
+ va_list varargs;
+
+ if (_gmi_debug) {
+ va_start (varargs, format);
+ g_vprintf ( format, varargs);
+ va_end (varargs);
+ }
+}
+
#endif