mirror of
https://github.com/mpv-player/mpv
synced 2025-03-07 14:47:53 +00:00
new type: DVD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1595 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
5940a9e5d9
commit
085e5889ec
2
stream.h
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user