Skip to content
Snippets Groups Projects
Commit 8dd9554e authored by Andrey Lihatskiy's avatar Andrey Lihatskiy
Browse files

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

by Callum
parent 60f2bffa
No related branches found
No related tags found
No related merge requests found
...@@ -354,7 +354,7 @@ void MediaPluginLibVLC::playMedia() ...@@ -354,7 +354,7 @@ void MediaPluginLibVLC::playMedia()
// but that appears to always be the case // but that appears to always be the case
if (mIsLooping) if (mIsLooping)
{ {
libvlc_media_add_option(mLibVLCMedia, "input-repeat=-1"); libvlc_media_add_option(mLibVLCMedia, "input-repeat=65535");
} }
libvlc_media_player_play(mLibVLCMediaPlayer); libvlc_media_player_play(mLibVLCMediaPlayer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment