source: titan/libeplayer3/include/common.h @ 42162

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

update libeplayer3 to v47

File size: 803 bytes
Line 
1#ifndef COMMON_H_
2#define COMMON_H_
3
4#include<stdint.h>
5
6#include "container.h"
7#include "output.h"
8#include "manager.h"
9#include "playback.h"
10#include <pthread.h>
11
12//typedef char PlayFilesTab_t[2];
13
14typedef struct PlayFiles_t
15{
16    char *szFirstFile;
17    char *szSecondFile;
18    char *szFirstMoovAtomFile;
19    char *szSecondMoovAtomFile;
20    uint64_t iFirstFileSize;
21    uint64_t iSecondFileSize;
22    uint64_t iFirstMoovAtomOffset;
23    uint64_t iSecondMoovAtomOffset;
24} PlayFiles_t;
25
26typedef struct Context_s
27{
28    PlaybackHandler_t   *playback;
29    ContainerHandler_t  *container;
30    OutputHandler_t             *output;
31    ManagerHandler_t    *manager;
32} Context_t;
33
34char* subtext;
35
36int container_ffmpeg_update_tracks(Context_t *context, char *filename, int initial);
37#endif
Note: See TracBrowser for help on using the repository browser.