Mercurial > mplayer.hg
annotate stream/stream_dvd.h @ 20233:ced7b10bbe9c
missing console messages are (also) replaced by English versions
author | kraymer |
---|---|
date | Sun, 15 Oct 2006 14:35:18 +0000 |
parents | 42b46a42f83b |
children | 1a4fcea7ab53 |
rev | line source |
---|---|
18681 | 1 |
2 #ifdef USE_DVDREAD | |
3 | |
4 #ifdef USE_MPDVDKIT | |
5 #include "libmpdvdkit2/dvd_reader.h" | |
6 #include "libmpdvdkit2/ifo_types.h" | |
7 #include "libmpdvdkit2/ifo_read.h" | |
8 #include "libmpdvdkit2/nav_read.h" | |
19763
b3855eac66ca
detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
nicodvb
parents:
19271
diff
changeset
|
9 #elif defined(USE_DVDNAV) |
b3855eac66ca
detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
nicodvb
parents:
19271
diff
changeset
|
10 #include <dvd_reader.h> |
b3855eac66ca
detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
nicodvb
parents:
19271
diff
changeset
|
11 #include <ifo_types.h> |
b3855eac66ca
detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
nicodvb
parents:
19271
diff
changeset
|
12 #include <ifo_read.h> |
b3855eac66ca
detect dvdnav before mpdvdkit and dvdread; if dvdnav is set mplayer will use the version of dvdread embedded in dvdnav
nicodvb
parents:
19271
diff
changeset
|
13 #include <nav_read.h> |
18681 | 14 #else |
15 #include <dvdread/dvd_reader.h> | |
16 #include <dvdread/ifo_types.h> | |
17 #include <dvdread/ifo_read.h> | |
18 #include <dvdread/nav_read.h> | |
19 #endif | |
20 | |
21 typedef struct { | |
22 dvd_reader_t *dvd; | |
23 dvd_file_t *title; | |
24 ifo_handle_t *vmg_file; | |
25 tt_srpt_t *tt_srpt; | |
26 ifo_handle_t *vts_file; | |
27 vts_ptt_srpt_t *vts_ptt_srpt; | |
28 pgc_t *cur_pgc; | |
29 // | |
30 int cur_title; | |
31 int cur_cell; | |
32 int last_cell; | |
33 int cur_pack; | |
34 int cell_last_pack; | |
35 // Navi: | |
36 int packs_left; | |
37 dsi_t dsi_pack; | |
38 int angle_seek; | |
39 // audio datas | |
40 int nr_of_channels; | |
41 stream_language_t audio_streams[32]; | |
42 // subtitles | |
43 int nr_of_subtitles; | |
44 stream_language_t subtitles[32]; | |
45 } dvd_priv_t; | |
46 | |
47 int dvd_number_of_subs(stream_t *stream); | |
20156 | 48 int dvd_lang_from_aid(stream_t *stream, int id); |
18681 | 49 int dvd_lang_from_sid(stream_t *stream, int id); |
50 int dvd_aid_from_lang(stream_t *stream, unsigned char* lang); | |
51 int dvd_sid_from_lang(stream_t *stream, unsigned char* lang); | |
52 int dvd_chapter_from_cell(dvd_priv_t *dvd,int title,int cell); | |
53 | |
54 #endif |