1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00

subtitle_t + audio_stream_t -> stream_language_t (cleanup)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3752 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-12-25 23:31:37 +00:00
parent 0c778769eb
commit cbda3bd268
2 changed files with 5 additions and 10 deletions

View File

@ -44,9 +44,9 @@ typedef struct
int current_title;
int current_angle;
int nr_of_audio_channels;
audio_stream_t audio_streams[8];
stream_language_t audio_streams[32];
int nr_of_subtitles;
subtitle_t subtitles[32];
stream_language_t subtitles[32];
} mplDVDStruct;
#endif

View File

@ -177,12 +177,7 @@ extern int dvd_angle;
typedef struct {
int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
int language;
} audio_stream_t;
typedef struct {
int id; // 0 - 31
int language;
} subtitle_t;
} stream_language_t;
typedef struct {
dvd_reader_t *dvd;
@ -202,10 +197,10 @@ typedef struct {
int angle_seek;
// audio datas
int nr_of_channels;
audio_stream_t audio_streams[8];
stream_language_t audio_streams[32];
// subtitles
int nr_of_subtitles;
subtitle_t subtitles[32];
stream_language_t subtitles[32];
} dvd_priv_t;
#endif