summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.h
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2019-06-28 09:44:24 -0700
committerJohn Stebbins <[email protected]>2019-07-12 14:18:37 -0700
commitb5e18d605105b646e27558352dbf561117431970 (patch)
tree0fb256f24b8c7f2ebf41117c06d4f3362f0676d8 /libhb/dvd.h
parent206df6267e8065366f2df18252b22030462b9436 (diff)
dvd: remove dvd specific details from hb_title_t
This information isn't needed by the frontends and pollutes the API
Diffstat (limited to 'libhb/dvd.h')
-rw-r--r--libhb/dvd.h19
1 files changed, 18 insertions, 1 deletions
diff --git a/libhb/dvd.h b/libhb/dvd.h
index c5be684a1..338c8da89 100644
--- a/libhb/dvd.h
+++ b/libhb/dvd.h
@@ -19,6 +19,16 @@
#define HB_VOBSUB_STYLE_LETTERBOX 2
#define HB_VOBSUB_STYLE_PANSCAN 3
+struct hb_dvd_chapter_s
+{
+ int index;
+ int64_t duration;
+ int pgn;
+ int pgcn;
+ int block_start;
+ int block_end;
+};
+
struct hb_dvdread_s
{
char * path;
@@ -62,11 +72,18 @@ struct hb_dvdnav_s
int title_block_count;
int chapter;
int cell;
- hb_list_t * list_chapter;
int stopped;
hb_handle_t * h;
+
+ ifo_handle_t * ifo;
+ int vts;
+ int pgcn;
+ int pgn;
+ int64_t duration;
+ hb_list_t * list_dvd_chapter;
};
+typedef struct hb_dvd_chapter_s hb_dvd_chapter_t;
typedef struct hb_dvdnav_s hb_dvdnav_t;
typedef struct hb_dvdread_s hb_dvdread_t;