mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-30 08:51:11 +02:00
armbox eplayer: add chapters
This commit is contained in:
@@ -15,6 +15,7 @@ libeplayer3_arm_la_SOURCES = \
|
||||
manager/audio.c \
|
||||
manager/video.c \
|
||||
manager/subtitle.c \
|
||||
manager/chapter.c \
|
||||
output/linuxdvb_mipsel.c \
|
||||
output/output_subtitle.c \
|
||||
output/output.c \
|
||||
|
@@ -71,6 +71,8 @@ typedef struct Track_s
|
||||
int inject_raw_pcm;
|
||||
|
||||
int pending;
|
||||
long long int chapter_start;
|
||||
long long int chapter_end;
|
||||
} Track_t;
|
||||
|
||||
typedef struct TrackDescription_s
|
||||
@@ -101,6 +103,7 @@ typedef struct ManagerHandler_s
|
||||
Manager_t *audio;
|
||||
Manager_t *video;
|
||||
Manager_t *subtitle;
|
||||
Manager_t *chapter;
|
||||
} ManagerHandler_t;
|
||||
|
||||
void freeTrack(Track_t *track);
|
||||
|
@@ -40,13 +40,15 @@
|
||||
extern Manager_t AudioManager;
|
||||
extern Manager_t VideoManager;
|
||||
extern Manager_t SubtitleManager;
|
||||
extern Manager_t ChapterManager;
|
||||
|
||||
ManagerHandler_t ManagerHandler =
|
||||
{
|
||||
"ManagerHandler",
|
||||
&AudioManager,
|
||||
&VideoManager,
|
||||
&SubtitleManager
|
||||
&SubtitleManager,
|
||||
&ChapterManager
|
||||
};
|
||||
|
||||
/* ***************************** */
|
||||
|
Reference in New Issue
Block a user