From 3964e2714e9672fb4a45c8a16a96153ab7cae05b Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 27 Aug 2008 22:27:30 +0000 Subject: merged in relevant changes from the v0-40 pd-extended release branch svn path=/trunk/externals/pdp/; revision=10266 --- modules/image_io/pdp_qt.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'modules/image_io') diff --git a/modules/image_io/pdp_qt.c b/modules/image_io/pdp_qt.c index af149dc..fc81a4e 100644 --- a/modules/image_io/pdp_qt.c +++ b/modules/image_io/pdp_qt.c @@ -26,6 +26,7 @@ #include "pdp.h" #include "pdp_llconv.h" +#include "s_stuff.h" // need to get sys_libdir for libquicktime plugins #define min(x,y) ((xs_name, FILENAME_MAX - 20); + strcat(buf, "/../lib/libquicktime"); + if(realpath(buf, realpath_buf)) + { + 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 } #ifdef __cplusplus -- cgit v1.2.1