summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/media-info
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2003-05-21 18:16:30 +0000
committerBrian Cameron <brian.cameron@sun.com>2003-05-21 18:16:30 +0000
commit4c3c8f6f108d324168058af3100d013497184956 (patch)
tree7c06fc306c4fd97efea17de75bbb0e4b494e5753 /gst-libs/gst/media-info
parenta62ca0048edd89cff24bc4550b456cf875bc5439 (diff)
downloadgst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.tar.gz
gst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.tar.bz2
gst-plugins-bad-4c3c8f6f108d324168058af3100d013497184956.zip
Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly in...
Original commit message from CVS: Corrected the configure.ac so it actually works. Updated some c files so that they build on Solaris. This mostly involved supporting ISO style variable-argument macros.
Diffstat (limited to 'gst-libs/gst/media-info')
-rw-r--r--gst-libs/gst/media-info/media-info.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/gst-libs/gst/media-info/media-info.c b/gst-libs/gst/media-info/media-info.c
index e2afd51b..067286c4 100644
--- a/gst-libs/gst/media-info/media-info.c
+++ b/gst-libs/gst/media-info/media-info.c
@@ -22,9 +22,20 @@
#include "media-info.h"
static gboolean _gst_media_info_debug = TRUE;
+
+#ifdef G_HAVE_ISO_VARARGS
+
+#define GMI_DEBUG(...) \
+ { if (_gst_media_info_debug) { g_print ( __VA_ARGS__ ); }}
+
+#elif defined(G_HAVE_GNUC_VARARGS)
+
#define GMI_DEBUG(format, args...) \
{ if (_gst_media_info_debug) { g_print ( format , ## args ); }}
+#endif
+
+
struct GstMediaInfoPriv
{
GstElement *pipeline;