summaryrefslogtreecommitdiffstats
path: root/libhb/dvd.h
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-06-29 16:05:38 +0000
committerjstebbins <[email protected]>2015-06-29 16:05:38 +0000
commit10f6690cfa1ebbd5a837e03f70d011b51ea7690a (patch)
tree7cbd3196b1367cade621ae14fe932778bc4d86bd /libhb/dvd.h
parentaf9de404779378e28af413d18291975dedd68861 (diff)
libhb: detect read errors and propagate
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7332 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/dvd.h')
-rw-r--r--libhb/dvd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libhb/dvd.h b/libhb/dvd.h
index 24f4f1e30..55153381f 100644
--- a/libhb/dvd.h
+++ b/libhb/dvd.h
@@ -42,6 +42,7 @@ struct hb_dvdread_s
int in_sync;
uint16_t cur_vob_id;
uint8_t cur_cell_id;
+ hb_handle_t * h;
};
struct hb_dvdnav_s
@@ -57,6 +58,7 @@ struct hb_dvdnav_s
int cell;
hb_list_t * list_chapter;
int stopped;
+ hb_handle_t * h;
};
typedef struct hb_dvdnav_s hb_dvdnav_t;
@@ -71,7 +73,7 @@ union hb_dvd_s
struct hb_dvd_func_s
{
- hb_dvd_t * (* init) ( char * );
+ hb_dvd_t * (* init) ( hb_handle_t *, char * );
void (* close) ( hb_dvd_t ** );
char * (* name) ( char * );
int (* title_count) ( hb_dvd_t * );