libeplayer3: let neutrino handle bitmap subtitles

Origin commit data
------------------
Branch: master
Commit: d9e8e98678
Author: martii <m4rtii@gmx.de>
Date: 2014-03-16 (Sun, 16 Mar 2014)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
martii
2014-03-16 07:29:38 +01:00
parent 88415f504e
commit bd349dc675
22 changed files with 116 additions and 661 deletions

View File

@@ -200,8 +200,7 @@ static int Command(void *_context, ManagerCmd_t command, void *argument)
break;
}
case MANAGER_LIST:{
container_ffmpeg_update_tracks(context, context->playback->uri,
0);
container_ffmpeg_update_tracks(context, context->playback->uri);
*((char ***) argument) = (char **) ManagerList(context);
break;
}
@@ -247,6 +246,11 @@ static int Command(void *_context, ManagerCmd_t command, void *argument)
subtitle_mgr_printf(20, "%s::%s MANAGER_SET id=%d\n", FILENAME,
__FUNCTION__, *((int *) argument));
if (*((int *) argument) < 0) {
CurrentTrack = -1;
break;
}
for (i = 0; i < TrackCount; i++)
if (Tracks[i].Id == *((int *) argument)) {
CurrentTrack = i;
@@ -266,7 +270,8 @@ static int Command(void *_context, ManagerCmd_t command, void *argument)
case MANAGER_INIT_UPDATE:{
int i;
for (i = 0; i < TrackCount; i++)
Tracks[i].pending = 1;
if (!Tracks[i].is_static)
Tracks[i].pending = 1;
break;
}
default: