]> git.sesse.net Git - vlc/blob - include/stream_control.h
* Hooks for fast forward and slow motion support.
[vlc] / include / stream_control.h
1 /* Structures exported to interface, input and decoders */
2
3 /*****************************************************************************
4  * stream_ctrl_t
5  *****************************************************************************
6  * Describe the state of a program stream.
7  *****************************************************************************/
8 typedef struct stream_ctrl_s
9 {
10     vlc_mutex_t             control_lock;
11
12     int                     i_status;
13     /* if i_status == FORWARD_S or BACKWARD_S */
14     int                     i_rate;
15
16     boolean_t               b_mute;
17     boolean_t               b_bw;                           /* black & white */
18 } stream_ctrl_t;
19
20 /* Possible status : */
21 #define PLAYING_S           0
22 #define PAUSE_S             1
23 #define FORWARD_S           2
24 #define BACKWARD_S          3
25 #define REWIND_S            4                /* Not supported for the moment */
26 #define NOT_STARTED_S       10
27 #define START_S             11
28
29 #define DEFAULT_RATE        1000