summaryrefslogtreecommitdiffstats
path: root/gst-libs/gst/media-info
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
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')
-rw-r--r--gst-libs/gst/media-info/media-info-priv.h14
-rw-r--r--gst-libs/gst/media-info/media-info.vcproj12
2 files changed, 20 insertions, 6 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
diff --git a/gst-libs/gst/media-info/media-info.vcproj b/gst-libs/gst/media-info/media-info.vcproj
index dfca7c48..15317caf 100644
--- a/gst-libs/gst/media-info/media-info.vcproj
+++ b/gst-libs/gst/media-info/media-info.vcproj
@@ -37,7 +37,7 @@
OutputFile="$(OutDir)/gstmedia-info.dll"
LinkIncremental="2"
AdditionalLibraryDirectories="../../../../gstreamer/win32/Debug;../../../../glib/glib;../../../../glib/gmodule;../../../../glib/gthread;../../../../glib/gobject;../../../../gettext/lib;../../../../libiconv/lib"
- ModuleDefinitionFile="media-info.def"
+ ModuleDefinitionFile=""
GenerateDebugInformation="TRUE"
ProgramDatabaseFile="$(OutDir)/media-info.pdb"
SubSystem="2"
@@ -89,7 +89,7 @@
OutputFile="$(OutDir)/gstmedia-info.dll"
LinkIncremental="1"
AdditionalLibraryDirectories="../../../../gstreamer/win32/Debug;../../../../glib/glib;../../../../glib/gmodule;../../../../glib/gthread;../../../../glib/gobject;../../../../gettext/lib;../../../../libiconv/lib"
- ModuleDefinitionFile="media-info.def"
+ ModuleDefinitionFile=""
GenerateDebugInformation="TRUE"
SubSystem="2"
OptimizeReferences="2"
@@ -127,10 +127,10 @@
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}">
<File
- RelativePath=".\media-info.c">
+ RelativePath=".\media-info-priv.c">
</File>
<File
- RelativePath=".\media-info-priv.c">
+ RelativePath=".\media-info.c">
</File>
</Filter>
<Filter
@@ -138,10 +138,10 @@
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
<File
- RelativePath=".\media-info.h">
+ RelativePath=".\media-info-priv.h">
</File>
<File
- RelativePath=".\media-info-priv.h">
+ RelativePath=".\media-info.h">
</File>
</Filter>
</Files>