summaryrefslogtreecommitdiffstats
path: root/stream.h
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-20 20:17:44 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-08-20 20:17:44 +0000
commit085e5889ecd1f528863739b580cb2c3c96322a88 (patch)
treee196c92dc07d4c983de9f3c4bbbf272cb48c0bd8 /stream.h
parent5940a9e5d9cb37fded07f26d77342065adc4ff55 (diff)
downloadmpv-085e5889ecd1f528863739b580cb2c3c96322a88.tar.bz2
mpv-085e5889ecd1f528863739b580cb2c3c96322a88.tar.xz
new type: DVD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1595 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream.h')
-rw-r--r--stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream.h b/stream.h
index a3dff14672..a426ee568a 100644
--- a/stream.h
+++ b/stream.h
@@ -6,6 +6,7 @@
#define STREAMTYPE_FILE 0
#define STREAMTYPE_VCD 1
#define STREAMTYPE_STREAM 2 // same as FILE but no seeking (for stdin)
+#define STREAMTYPE_DVD 3
#define VCD_SECTOR_SIZE 2352
#define VCD_SECTOR_OFFS 24
@@ -26,6 +27,7 @@ typedef struct {
unsigned int buf_pos,buf_len;
off_t start_pos,end_pos;
unsigned char buffer[STREAM_BUFFER_SIZE>VCD_SECTOR_SIZE?STREAM_BUFFER_SIZE:VCD_SECTOR_SIZE];
+ void* priv; // used for DVD
} stream_t;
int stream_fill_buffer(stream_t *s);