source: titan/libeplayer3/include/playback.h @ 42431

Last change on this file since 42431 was 42431, checked in by obi, 6 years ago

reset libeplayer

File size: 1.2 KB
Line 
1#ifndef PLAYBACK_H_
2#define PLAYBACK_H_
3#include <sys/types.h>
4#include <stdint.h>
5
6typedef enum {PLAYBACK_OPEN, PLAYBACK_CLOSE, PLAYBACK_PLAY, PLAYBACK_STOP, PLAYBACK_PAUSE, PLAYBACK_CONTINUE, PLAYBACK_FLUSH, PLAYBACK_TERM, PLAYBACK_FASTFORWARD, PLAYBACK_SEEK, PLAYBACK_SEEK_ABS, PLAYBACK_PTS, PLAYBACK_LENGTH, PLAYBACK_SWITCH_AUDIO, PLAYBACK_SWITCH_SUBTITLE, PLAYBACK_INFO, PLAYBACK_SLOWMOTION, PLAYBACK_FASTBACKWARD, PLAYBACK_GET_FRAME_COUNT} PlaybackCmd_t;
7
8typedef struct PlaybackHandler_s
9{
10    char *Name;
11
12    int32_t fd;
13
14    uint8_t isFile;
15    uint8_t isHttp;
16
17    uint8_t isPlaying;
18    uint8_t isPaused;
19    uint8_t isForwarding;
20    uint8_t isSeeking;
21    uint8_t isCreationPhase;
22
23    int32_t BackWard;
24    int32_t SlowMotion;
25    int32_t Speed;
26    int32_t AVSync;
27
28    uint8_t isVideo;
29    uint8_t isAudio;
30    uint8_t isSubtitle;
31    uint8_t abortRequested;
32
33    int32_t (* Command) (/*Context_t*/void  *, PlaybackCmd_t, void *);
34    char * uri;
35    off_t size;
36    uint8_t noprobe; /* hack: only minimal probing in av_find_stream_info */
37    uint8_t isLoopMode;
38    uint8_t isTSLiveMode;
39} PlaybackHandler_t;
40
41#endif
Note: See TracBrowser for help on using the repository browser.