added loop argument for omxplayer (disappeared with the merge somehow...)

This commit is contained in:
icex2 2016-04-11 19:30:22 +02:00 committed by icex2
parent 411f5cbb2d
commit da3aa8a309
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ void *VideoThread( void *state )
* Also accept any extension that we support.
*/
char syscall[256];
sprintf(syscall, "omxplayer -b --no-osd %s%02d.m4v > /dev/null 2> /dev/null &", private_state->dvd_path, arg);
sprintf(syscall, "omxplayer --loop -b --no-osd %s%02d.m4v > /dev/null 2> /dev/null &", private_state->dvd_path, arg);
exec_shell(syscall);
/* Wait for it to start */
while( 1 )