Merge pull request #1 from icex2/master
Minor fixes to compile. Add loop argument to make doubles play work properly.
This commit is contained in:
commit
02895947b8
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
|||
all: dvdemu
|
||||
|
||||
dvdemu: DVDEmu.cpp DVDEmu.h Serial.cpp Serial.h Video.cpp Video.h Toshiba_SD-B100.cpp Toshiba_SD-B100.h Victor_XV-D701.cpp Victor_XV-D701.h
|
||||
g++ -Wall -Werror -D_BSD_SOURCE -pthread -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb
|
||||
g++ -Wall -Werror -D_BSD_SOURCE -pthread -ltinfo -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb
|
||||
|
||||
.DUMMY: clean
|
||||
clean:
|
||||
|
|
|
@ -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 )
|
||||
|
@ -133,6 +133,8 @@ void *VideoThread( void *state )
|
|||
usleep( 10000 );
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
void VideoThreadAction( unsigned int opcode, unsigned int argument )
|
||||
|
|
Loading…
Reference in New Issue