vrplayer: added feature to automatically restart media on end of stream
This commit is contained in:
@@ -88,7 +88,9 @@ void DemuxMedia::startDemuxing()
|
||||
{
|
||||
/* looks like we reached end of file */
|
||||
delete mediaPkt;
|
||||
playVideo->onMediaRestarted();
|
||||
usleep(1000 * 100);
|
||||
xrdpvr_seek_media(0, 0);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user