From 895e8ad446ab383e1211f759e8b55aa0fff2efc1 Mon Sep 17 00:00:00 2001
From: Steven Bennetts <steve@lindenlab.com>
Date: Mon, 5 Oct 2009 22:45:32 +0000
Subject: * EXT-1301 - Fixed showstopper by eliminating the notification that
 was blocking testing (by getting triggered every frame on a failed media
 plugin load) (transplanted from 01e271a99e0d975583d06f6c3af6b487e388ab70)

---
 indra/newview/llviewermedia.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'indra/newview')

diff --git a/indra/newview/llviewermedia.cpp b/indra/newview/llviewermedia.cpp
index 100a34291b..2b972614f1 100644
--- a/indra/newview/llviewermedia.cpp
+++ b/indra/newview/llviewermedia.cpp
@@ -1378,7 +1378,8 @@ void LLViewerMediaImpl::handleMediaEvent(LLPluginClassMedia* plugin, LLPluginCla
 		{
 			LLSD args;
 			args["PLUGIN"] = LLMIMETypes::implType(mMimeType);
-			LLNotifications::instance().add("MediaPluginFailed", args);
+			// SJB: This is getting called every frame if the plugin fails to load, continuously respawining the alert!
+			//LLNotifications::instance().add("MediaPluginFailed", args);
 		}
 		break;
 		
-- 
cgit v1.2.3