summaryrefslogtreecommitdiff
path: root/indra/llplugin/llpluginclassmedia.cpp
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-14 21:13:57 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2021-12-14 21:40:10 +0200
commite55a0510ff0146ec0f1ae60c8c97c3815ad5b0dd (patch)
treeb10c1b2c13c1450bc3d038dc71fea34f269b5161 /indra/llplugin/llpluginclassmedia.cpp
parent3d96d00bceed452b696ee767ca5b9c9e1130485e (diff)
SL-16510 VLC time slider sometimes does not work
Diffstat (limited to 'indra/llplugin/llpluginclassmedia.cpp')
-rw-r--r--indra/llplugin/llpluginclassmedia.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginclassmedia.cpp b/indra/llplugin/llpluginclassmedia.cpp
index a436452461..1d6a622d61 100644
--- a/indra/llplugin/llpluginclassmedia.cpp
+++ b/indra/llplugin/llpluginclassmedia.cpp
@@ -1527,6 +1527,7 @@ void LLPluginClassMedia::seek(float time)
LLPluginMessage message(LLPLUGIN_MESSAGE_CLASS_MEDIA_TIME, "seek");
message.setValueReal("time", time);
+ mCurrentTime = time; // assume that it worked and we will receive an update later
sendMessage(message);
}