mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
libeplayer3: let neutrino handle bitmap subtitles
This commit is contained in:
@@ -14,5 +14,5 @@ typedef struct Context_s {
|
||||
ManagerHandler_t *manager;
|
||||
} Context_t;
|
||||
|
||||
int container_ffmpeg_update_tracks(Context_t * context, char *filename, int initial);
|
||||
int container_ffmpeg_update_tracks(Context_t * context, char *filename);
|
||||
#endif
|
||||
|
@@ -59,6 +59,7 @@ typedef struct Track_s {
|
||||
int inject_raw_pcm;
|
||||
|
||||
int pending;
|
||||
int is_static;
|
||||
long long int chapter_start;
|
||||
long long int chapter_end;
|
||||
} Track_t;
|
||||
@@ -75,7 +76,6 @@ typedef struct ManagerHandler_s {
|
||||
Manager_t *audio;
|
||||
Manager_t *video;
|
||||
Manager_t *subtitle;
|
||||
Manager_t *dvbsubtitle;
|
||||
Manager_t *teletext;
|
||||
Manager_t *chapter;
|
||||
} ManagerHandler_t;
|
||||
|
@@ -67,7 +67,6 @@ typedef struct OutputHandler_s {
|
||||
Output_t *audio;
|
||||
Output_t *video;
|
||||
Output_t *subtitle;
|
||||
Output_t *dvbsubtitle;
|
||||
Output_t *teletext;
|
||||
int (*Command) ( /*Context_t */ void *, OutputCmd_t, void *);
|
||||
} OutputHandler_t;
|
||||
|
@@ -21,6 +21,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#define DEFAULT_ASS_HEAD "[Script Info]\n\
|
||||
Original Script: (c) 2008\n\
|
||||
ScriptType: v4.00\n\
|
||||
@@ -119,6 +121,7 @@ typedef struct {
|
||||
unsigned int destStride;
|
||||
|
||||
void (*framebufferBlit) (void);
|
||||
void (*dvbsubWrite) (void *, int64_t);
|
||||
} SubtitleOutputDef_t;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user