summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2021-11-09 02:38:58 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2021-11-09 02:38:58 +0200
commit8dd9554eb504e43e392b858003914be3210ba91e (patch)
tree0691b921af805ed24ad6a02fdb60cf00185ba38f
parent60f2bffa7c4a55f62c34c867afd83b1225e24b7f (diff)
SL-16333 VLC 3 doesn't support -1 == infinity for input-repeat
by Callum
-rw-r--r--indra/media_plugins/libvlc/media_plugin_libvlc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
index ce0947a1bc..1afe25e9a1 100644
--- a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
+++ b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
@@ -354,7 +354,7 @@ void MediaPluginLibVLC::playMedia()
// but that appears to always be the case
if (mIsLooping)
{
- libvlc_media_add_option(mLibVLCMedia, "input-repeat=-1");
+ libvlc_media_add_option(mLibVLCMedia, "input-repeat=65535");
}
libvlc_media_player_play(mLibVLCMediaPlayer);