summaryrefslogtreecommitdiff
path: root/indra/media_plugins/libvlc
diff options
context:
space:
mode:
authorCallum Linden <callum@lindenlab.com>2016-07-21 09:46:42 -0700
committerCallum Linden <callum@lindenlab.com>2016-07-21 09:46:42 -0700
commitf0eab8b36ff6ffcb2e76d3e23b0cd35346cb4a3b (patch)
tree4c7f73979ce9f5de542753cf05e550b834dd95f1 /indra/media_plugins/libvlc
parent8a25489591d6f7c6c8aa95c98bbdcfe06d075c00 (diff)
Add a comment about order of operation that might be important for those that follow
Diffstat (limited to 'indra/media_plugins/libvlc')
-rw-r--r--indra/media_plugins/libvlc/media_plugin_libvlc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
index f2e8252d3a..948639f125 100644
--- a/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
+++ b/indra/media_plugins/libvlc/media_plugin_libvlc.cpp
@@ -357,6 +357,8 @@ void MediaPluginLibVLC::playMedia()
libvlc_video_set_callbacks(mLibVLCMediaPlayer, lock, unlock, display, &mLibVLCCallbackContext);
libvlc_video_set_format(mLibVLCMediaPlayer, "RV32", mWidth, mHeight, mWidth * mDepth);
+ // note this relies on the "set_loop" message arriving before the "start" (play) one
+ // but that appears to always be the case
if (mIsLooping)
{
libvlc_media_add_option(mLibVLCMedia, "input-repeat=-1");