libeplayer3: tracks update is now lock-free

This commit is contained in:
martii
2013-08-16 19:35:07 +02:00
parent 093862d85d
commit 124cd8e4ba
7 changed files with 107 additions and 43 deletions

View File

@@ -13,6 +13,7 @@ typedef enum {
MANAGER_GETENCODING,
MANAGER_DEL,
MANAGER_GET_TRACK,
MANAGER_INIT_UPDATE
} ManagerCmd_t;
typedef enum {
@@ -56,6 +57,8 @@ typedef struct Track_s {
* AVCodec is than used for softdecoding and stream will be injected as PCM */
int inject_as_pcm;
int inject_raw_pcm;
int pending;
} Track_t;
typedef struct Manager_s {