diff options
Diffstat (limited to 'gst-libs/gst/media-info')
-rw-r--r-- | gst-libs/gst/media-info/media-info-priv.h | 14 | ||||
-rw-r--r-- | gst-libs/gst/media-info/media-info.vcproj | 12 |
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> |