mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-31 09:20:58 +02:00
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:
@@ -375,8 +375,8 @@ static int SsaGetSubtitle(Context_t * context, char *Filename)
|
||||
Subtitle.Name = subtitleExtension;
|
||||
Subtitle.Encoding = "S_TEXT/SSA";
|
||||
Subtitle.Id = i++;
|
||||
context->manager->subtitle->Command(context, MANAGER_ADD,
|
||||
&Subtitle);
|
||||
Subtitle.is_static = 1;
|
||||
context->manager->subtitle->Command(context, MANAGER_ADD, &Subtitle);
|
||||
}
|
||||
} /* while */
|
||||
closedir(dir);
|
||||
@@ -480,6 +480,7 @@ static int Command(void *_context, ContainerCmd_t command, void *argument)
|
||||
switch (command) {
|
||||
case CONTAINER_INIT:{
|
||||
char *filename = (char *) argument;
|
||||
SsaDel(context);
|
||||
ret = SsaGetSubtitle(context, filename);
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user