aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-05-06 19:28:17 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-05-06 19:28:17 +0000
commit0b01d1f59654931990a66f7a3730467186d9df4e (patch)
treeaa54f96f02284aefb29231cd624e322af3156b19
parentbc0f62118842634a113a35deea59676940c1af1e (diff)
- made the LIBQUICKTIME path setting message only show up with 'verbose' is on
svn path=/trunk/externals/pdp/; revision=11248
-rw-r--r--modules/image_io/pdp_qt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/image_io/pdp_qt.c b/modules/image_io/pdp_qt.c
index fdbbd74..67d37ea 100644
--- a/modules/image_io/pdp_qt.c
+++ b/modules/image_io/pdp_qt.c
@@ -977,7 +977,8 @@ void pdp_qt_setup(void)
strcat(buf, "/../lib/libquicktime1");
if(realpath(buf, realpath_buf))
{
- post("[pdp_qt]: setting LIBQUICKTIME_PLUGIN_DIR to:\n %s", realpath_buf);
+ if(sys_verbose)
+ post("[pdp_qt]: setting LIBQUICKTIME_PLUGIN_DIR to:\n %s", realpath_buf);
setenv("LIBQUICKTIME_PLUGIN_DIR", realpath_buf, 0); // 0 means don't overwrite existing value
}
#endif