SL-16333 VLC 3 doesn't support -1 == infinity for input-repeat

by Callum
meow-7.2.2
Andrey Lihatskiy 2021-11-09 02:38:58 +02:00
parent 60f2bffa7c
commit 8dd9554eb5
1 changed files with 1 additions and 1 deletions

View File

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