From f0c897230fe28a0a6c597593b3e8a15b118c01af Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Sat, 27 Feb 2010 17:31:27 +0000 Subject: duh, with added buildability. --- indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp b/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp index fb13b025c0..4c2dd64bb6 100644 --- a/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp +++ b/indra/media_plugins/gstreamer010/media_plugin_gstreamer010.cpp @@ -690,7 +690,7 @@ MediaPluginGStreamer010::load() // get a visualizer element (bonus feature!) char* vis_name = getenv("LL_GST_VIS_NAME"); - if (!visname || + if (!vis_name || (vis_name && std::string(vis_name)!="none")) { if (vis_name) -- cgit v1.2.3