summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-09 01:26:18 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2022-02-09 01:27:21 +0200
commitb9e0f5fd3b6f37e0dc47f4a66eaeea58ef67ac54 (patch)
treea2395527a080f690798f683a7ef868fd60af1a4c /indra
parent8c64cc63cd3048d60912c74a4fd3dcbb47196be0 (diff)
SL-13470 Media on a prim loops when it should not
Diffstat (limited to 'indra')
-rw-r--r--indra/media_plugins/libvlc/media_plugin_libvlc.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
index bbb15c3955..8e18b5c6a7 100644
--- a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
+++ b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
@@ -647,7 +647,8 @@ void MediaPluginLibVLC::receiveMessage(const char* message_string)
}
else if (message_name == "set_loop")
{
- mIsLooping = true;
+ bool loop = message_in.getValueBoolean("loop");
+ mIsLooping = loop;
}
else if (message_name == "set_volume")
{