mirror of https://github.com/mpv-player/mpv
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:
parent
0c778769eb
commit
cbda3bd268
|
@ -44,9 +44,9 @@ typedef struct
|
||||||
int current_title;
|
int current_title;
|
||||||
int current_angle;
|
int current_angle;
|
||||||
int nr_of_audio_channels;
|
int nr_of_audio_channels;
|
||||||
audio_stream_t audio_streams[8];
|
stream_language_t audio_streams[32];
|
||||||
int nr_of_subtitles;
|
int nr_of_subtitles;
|
||||||
subtitle_t subtitles[32];
|
stream_language_t subtitles[32];
|
||||||
} mplDVDStruct;
|
} mplDVDStruct;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -177,12 +177,7 @@ extern int dvd_angle;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
|
int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
|
||||||
int language;
|
int language;
|
||||||
} audio_stream_t;
|
} stream_language_t;
|
||||||
|
|
||||||
typedef struct {
|
|
||||||
int id; // 0 - 31
|
|
||||||
int language;
|
|
||||||
} subtitle_t;
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
dvd_reader_t *dvd;
|
dvd_reader_t *dvd;
|
||||||
|
@ -202,10 +197,10 @@ typedef struct {
|
||||||
int angle_seek;
|
int angle_seek;
|
||||||
// audio datas
|
// audio datas
|
||||||
int nr_of_channels;
|
int nr_of_channels;
|
||||||
audio_stream_t audio_streams[8];
|
stream_language_t audio_streams[32];
|
||||||
// subtitles
|
// subtitles
|
||||||
int nr_of_subtitles;
|
int nr_of_subtitles;
|
||||||
subtitle_t subtitles[32];
|
stream_language_t subtitles[32];
|
||||||
} dvd_priv_t;
|
} dvd_priv_t;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue