diff options
author | Brian Cameron <brian.cameron@sun.com> | 2003-10-02 20:12:33 +0000 |
---|---|---|
committer | Brian Cameron <brian.cameron@sun.com> | 2003-10-02 20:12:33 +0000 |
commit | 36556c46c0d8114d3966a26ee73449d9f8f026b0 (patch) | |
tree | c116f52fe69f68eee8096d734ccc280573064dbd /gst-libs/gst/media-info | |
parent | d9e4457faa360b470a5ae418e3444fccd6c0a5de (diff) | |
download | gst-plugins-bad-36556c46c0d8114d3966a26ee73449d9f8f026b0.tar.gz gst-plugins-bad-36556c46c0d8114d3966a26ee73449d9f8f026b0.tar.bz2 gst-plugins-bad-36556c46c0d8114d3966a26ee73449d9f8f026b0.zip |
Corrected macro in medi-info-priv.h so that it follows ISO standards, and removed broken return from void function in...
Original commit message from CVS:
Corrected macro in medi-info-priv.h so that it follows ISO standards,
and removed broken return from void function in navigation.c
Diffstat (limited to 'gst-libs/gst/media-info')
-rw-r--r-- | gst-libs/gst/media-info/media-info-priv.h | 9 |
1 files changed, 9 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 3e7a598c..0a7aa500 100644 --- a/gst-libs/gst/media-info/media-info-priv.h +++ b/gst-libs/gst/media-info/media-info-priv.h @@ -32,9 +32,18 @@ static gboolean _gmi_debug = TRUE; static gboolean _gmi_debug = FALSE; #endif +#ifdef G_HAVE_ISO_VARARGS + +#define GMI_DEBUG(...) \ + { if (_gmi_debug) { g_print ( __VA_ARGS__ ); }} + +#elif defined(G_HAVE_GNUC_VARARGS) + #define GMI_DEBUG(format, args...) \ { if (_gmi_debug) { g_print ( format , ## args ); }} +#endif + /* state machine enum; FIXME: can we move this to priv.c ? */ typedef enum |