libeplayer3: remove no longer needed teletext output handling

This commit is contained in:
martii
2014-03-23 14:46:31 +01:00
parent 9eb23c78f4
commit a0cd63ce87
6 changed files with 36 additions and 168 deletions

View File

@@ -77,7 +77,7 @@ static int CurrentTrack = -1;
/* Functions */
/* ***************************** */
static int ManagerAdd(Context_t * context, Track_t track)
static int ManagerAdd(Context_t * context __attribute__((unused)), Track_t track)
{
teletext_mgr_printf(10, "%s::%s name=\"%s\" encoding=\"%s\" id=%d\n",
@@ -113,9 +113,6 @@ static int ManagerAdd(Context_t * context, Track_t track)
return cERR_TELETEXT_MGR_ERROR;
}
if (TrackCount > 0)
context->playback->isTeletext = 1;
teletext_mgr_printf(10, "%s::%s\n", FILENAME, __FUNCTION__);
return cERR_TELETEXT_MGR_NO_ERROR;
@@ -156,7 +153,7 @@ static char **ManagerList(Context_t * context __attribute__ ((unused)))
return tracklist;
}
static int ManagerDel(Context_t * context)
static int ManagerDel(Context_t * context __attribute__((unused)))
{
int i = 0;
@@ -177,7 +174,6 @@ static int ManagerDel(Context_t * context)
TrackCount = 0;
CurrentTrack = -1;
context->playback->isTeletext = 0;
teletext_mgr_printf(10, "%s::%s return no error\n", FILENAME,
__FUNCTION__);