vrplayer: added feature to automatically restart media on end of stream

This commit is contained in:
Laxmikant Rashinkar
2013-06-15 13:36:40 -07:00
parent 78498f6682
commit 374cb93ded
8 changed files with 44 additions and 32 deletions
+2
View File
@@ -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;
}