summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorCallum Prentice <callum@gmail.com>2016-10-05 13:15:25 -0700
committerCallum Prentice <callum@gmail.com>2016-10-05 13:15:25 -0700
commit56953b146aa9d4367b6cf5e9e604ad278258418e (patch)
tree0c54720d7191651c8d0ddb985e2850591c6aa2ef /indra
parent1be15b3d3a3cb73cf244ea108839054872a27344 (diff)
Fix MAINT-6730 Media audio does not play when Media volume slider is set to max
Diffstat (limited to 'indra')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index 5469ec0f5c..d672650658 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);