mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-27 07:23:11 +02:00
libeplayer3: rename Content_t => Player
This commit is contained in:
@@ -75,7 +75,7 @@ static int CurrentPid = -1;
|
||||
/* Functions */
|
||||
/* ***************************** */
|
||||
|
||||
static int ManagerAdd(Context_t * context __attribute__((unused)), Track_t track)
|
||||
static int ManagerAdd(Player * context __attribute__((unused)), Track_t track)
|
||||
{
|
||||
Tracks[track.Id] = track;
|
||||
context->playback->isAudio = 1;
|
||||
@@ -83,7 +83,7 @@ static int ManagerAdd(Context_t * context __attribute__((unused)), Track_t track
|
||||
return cERR_SUBTITLE_MGR_NO_ERROR;
|
||||
}
|
||||
|
||||
static char **ManagerList(Context_t * context __attribute__ ((unused)))
|
||||
static char **ManagerList(Player * context __attribute__ ((unused)))
|
||||
{
|
||||
int j = 0;
|
||||
char **tracklist = (char **) malloc(sizeof(char *) * ((Tracks.size() * 2) + 1));
|
||||
@@ -102,14 +102,14 @@ static char **ManagerList(Context_t * context __attribute__ ((unused)))
|
||||
return tracklist;
|
||||
}
|
||||
|
||||
static int ManagerDel(Context_t * context __attribute__((unused)))
|
||||
static int ManagerDel(Player * context __attribute__((unused)))
|
||||
{
|
||||
Tracks.clear();
|
||||
CurrentPid = -1;
|
||||
return cERR_SUBTITLE_MGR_NO_ERROR;
|
||||
}
|
||||
|
||||
static int Command(Context_t *context, ManagerCmd_t command, void *argument)
|
||||
static int Command(Player *context, ManagerCmd_t command, void *argument)
|
||||
{
|
||||
int ret = cERR_SUBTITLE_MGR_NO_ERROR;
|
||||
|
||||
|
Reference in New Issue
Block a user