summaryrefslogtreecommitdiffstats
path: root/libhb/internal.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 11:51:25 -0600
committerJohn Stebbins <[email protected]>2016-05-17 11:51:25 -0600
commitde858d1600ac61258dc895b2fc8756b7c5d1d3a8 (patch)
treecdbd82e3d9ee83cfb9a31ebbb034852aa36fb2cb /libhb/internal.h
parent9dcce9df07f4db1fa61f25ffeb106aa00bd64190 (diff)
libhb: send initial chapter through pipeline
Eliminate the need for everyone to assume that the first chapter starts at the first frame.
Diffstat (limited to 'libhb/internal.h')
-rw-r--r--libhb/internal.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/libhb/internal.h b/libhb/internal.h
index 4e477eba6..82012a7d7 100644
--- a/libhb/internal.h
+++ b/libhb/internal.h
@@ -509,3 +509,22 @@ void hb_muxmp4_process_subtitle_style( uint8_t *input,
void hb_deinterlace(hb_buffer_t *dst, hb_buffer_t *src);
void hb_avfilter_combine( hb_list_t * list );
+struct hb_chapter_queue_item_s
+{
+ int64_t start;
+ int new_chap;
+};
+
+struct hb_chapter_queue_s
+{
+ hb_list_t * list_chapter;
+};
+
+typedef struct hb_chapter_queue_item_s hb_chapter_queue_item_t;
+typedef struct hb_chapter_queue_s hb_chapter_queue_t;
+
+hb_chapter_queue_t * hb_chapter_queue_init(void);
+void hb_chapter_queue_close(hb_chapter_queue_t **_q);
+void hb_chapter_enqueue(hb_chapter_queue_t *q, hb_buffer_t *b);
+void hb_chapter_dequeue(hb_chapter_queue_t *q, hb_buffer_t *b);
+