libeplayer3-arm: cleanup types, use Context_t in commands

This commit is contained in:
max_10
2018-03-07 23:59:23 +01:00
committed by Thilo Graf
parent 71905680a6
commit cb275626b1
32 changed files with 195 additions and 183 deletions

View File

@@ -64,11 +64,14 @@ typedef struct
char *type;
} SubtitleOut_t;
struct Context_s;
typedef struct Context_s Context_t;
typedef struct Output_s
{
char *Name;
int32_t (* Command)(/*Context_t*/void *, OutputCmd_t, void *);
int32_t (* Write)(/*Context_t*/void *, void *privateData);
int32_t (* Command)(Context_t *, OutputCmd_t, void *);
int32_t (* Write)(Context_t *, void *privateData);
char **Capabilities;
} Output_t;
@@ -81,7 +84,7 @@ typedef struct OutputHandler_s
Output_t *audio;
Output_t *video;
Output_t *subtitle;
int32_t (* Command)(/*Context_t*/void *, OutputCmd_t, void *);
int32_t (* Command)(Context_t *, OutputCmd_t, void *);
} OutputHandler_t;
#endif