summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stream.h
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 10:30:59 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-21 10:30:59 +0000
commitb2a38b3ba0f5e60c34b257f9f788c227be991913 (patch)
treea3b31b319381a5c14f368037015cc311f78e8426 /libmpdemux/stream.h
parent7fe0a4e7da17b0cc47a1277db464c6dcc5d0a2a8 (diff)
downloadmpv-b2a38b3ba0f5e60c34b257f9f788c227be991913.tar.bz2
mpv-b2a38b3ba0f5e60c34b257f9f788c227be991913.tar.xz
add subtitle language detect.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3049 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stream.h')
-rw-r--r--libmpdemux/stream.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h
index 749560b671..13541689e5 100644
--- a/libmpdemux/stream.h
+++ b/libmpdemux/stream.h
@@ -178,6 +178,11 @@ typedef struct {
} audio_stream_t;
typedef struct {
+ int id; // 0 - 31
+ int language;
+} subtitle_t;
+
+typedef struct {
dvd_reader_t *dvd;
dvd_file_t *title;
ifo_handle_t *vmg_file;
@@ -196,6 +201,9 @@ typedef struct {
// audio datas
int nr_of_channels;
audio_stream_t audio_streams[8];
+// subtitles
+ int nr_of_subtitles;
+ subtitle_t subtitles[32];
} dvd_priv_t;
#endif