summaryrefslogtreecommitdiff
path: root/indra/media_plugins/libvlc
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2017-02-03 20:14:32 -0500
committerNat Goodspeed <nat@lindenlab.com>2017-02-03 20:14:32 -0500
commit37974a2fa26ecdd1bbe91e3007ad4cf81af1f851 (patch)
tree71eb6db2ddfcc28719f7fc5a920068f886b079c2 /indra/media_plugins/libvlc
parentc2c4a1e8514dc8a0df8e9d2f7b2e743691ef7ce3 (diff)
parent275d2e7e025eb7b3bfd8d924429e4bf9dbb26e66 (diff)
Automated merge with ssh://bitbucket.org/lindenlab/viewer64
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r--indra/media_plugins/libvlc/media_plugin_libvlc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
index ebcdde2960..048e7675f8 100644
--- a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
+++ b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
@@ -161,6 +161,10 @@ void MediaPluginLibVLC::initVLC()
"--video-filter=transform{type=vflip}", // MAINT-6578 Y flip textures in plugin vs client
};
+#if LL_DARWIN
+ setenv("VLC_PLUGIN_PATH", ".", 1);
+#endif
+
int vlc_argc = sizeof(vlc_argv) / sizeof(*vlc_argv);
mLibVLC = libvlc_new(vlc_argc, vlc_argv);