Add a comment about order of operation that might be important for those that follow

master
Callum Linden 2016-07-21 09:46:42 -07:00
parent 8a25489591
commit f0eab8b36f
1 changed files with 2 additions and 0 deletions

View File

@ -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");