From 56953b146aa9d4367b6cf5e9e604ad278258418e Mon Sep 17 00:00:00 2001
From: Callum Prentice <callum@gmail.com>
Date: Wed, 5 Oct 2016 13:15:25 -0700
Subject: [PATCH] Fix MAINT-6730 Media audio does not play when Media volume
 slider is set to max

---
 indra/llplugin/llpluginclassmedia.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index 5469ec0f5c9..d6726506585 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -116,7 +116,7 @@ void LLPluginClassMedia::reset()
 	mMediaHeight = 0;
 	mDirtyRect = LLRect::null;
 	mAutoScaleMedia = false;
-	mRequestedVolume = 1.0f;
+	mRequestedVolume = 0.0f;
 	mPriority = PRIORITY_NORMAL;
 	mLowPrioritySizeLimit = LOW_PRIORITY_TEXTURE_SIZE_DEFAULT;
 	mAllowDownsample = false;
@@ -1456,8 +1456,6 @@ void LLPluginClassMedia::setVolume(float volume)
 
 		LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME, "set_volume");
 
-		LL_INFOS() << "@@@@@@@@@@ volume is " << volume << LL_ENDL;
-
 		message.setValueReal("volume", volume);
 
 		sendMessage(message);
-- 
GitLab