summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvd.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-06-21 20:59:58 +0200
committerwm4 <wm4@nowhere>2014-06-22 05:01:03 +0200
commitea1650fcc338a11adfbbbf950719c65f33acc574 (patch)
tree93c4a779567ad57545342ac6424d95eb0b0ceaf0 /stream/stream_dvd.c
parentb443f8471fffdc16fe927acbf8e40f2061e412dc (diff)
downloadmpv-ea1650fcc338a11adfbbbf950719c65f33acc574.tar.bz2
mpv-ea1650fcc338a11adfbbbf950719c65f33acc574.tar.xz
stream: minor cleanups
Remove unused stream type constants. Move some now DVD specific crap to stream_dvd.c.
Diffstat (limited to 'stream/stream_dvd.c')
-rw-r--r--stream/stream_dvd.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/stream/stream_dvd.c b/stream/stream_dvd.c
index 0e193db78a..2195189c42 100644
--- a/stream/stream_dvd.c
+++ b/stream/stream_dvd.c
@@ -65,6 +65,13 @@
#endif
typedef struct {
+ int id; // 0 - 31 mpeg; 128 - 159 ac3; 160 - 191 pcm
+ int language;
+ int type;
+ int channels;
+} stream_language_t;
+
+typedef struct {
dvd_reader_t *dvd;
dvd_file_t *title;
ifo_handle_t *vmg_file;