]> rtime.felk.cvut.cz Git - frescor/frsh.git/blob - demo/video/play.h
Bugfixes in the video demo.
[frescor/frsh.git] / demo / video / play.h
1 #ifndef _PLAY_H_
2 #define _PLAY_H_
3
4 #ifndef _GNU_SOURCE
5 #define _GNU_SOURCE
6 #endif
7
8 #include <error.h>
9 #include <assert.h>
10 #include <semaphore.h>
11 #include <sys/wait.h>
12 #include <sys/mman.h>
13 #include <fcntl.h>
14
15 #include <frsh.h>
16
17 #define PLAYER_BINARY   "mplayer"
18 #define PLAYER_ARGS     " -fs -zoom "
19
20 struct player_args {
21         int budget, period;
22         char file[128];
23 };
24
25 void player(struct player_args *args);
26
27 #endif /* _PLAY_H_ */
28