diff options
author | wm4 <wm4@nowhere> | 2013-06-27 17:21:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-28 15:40:15 +0200 |
commit | 1327eeb375064573d5b9b3657958614ab297c2b1 (patch) | |
tree | 9d5c3d4e79ac14679315fe33514ea1716c22481f /stream/stream.h | |
parent | f296258de0bb43363f45941b3d01b3cf63a8c1bd (diff) | |
download | mpv-1327eeb375064573d5b9b3657958614ab297c2b1.tar.bz2 mpv-1327eeb375064573d5b9b3657958614ab297c2b1.tar.xz |
stream: redo memory streams
Make memory streams actual streams. This causes fewer weird corner cases
and actually allows using demuxers with them.
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h index 1ff8a85248..1bcd97bed1 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -40,6 +40,7 @@ #define STREAMTYPE_VCD 1 // raw mode-2 CDROM reading, 2324 bytes/sector #define STREAMTYPE_STREAM 2 // same as FILE but no seeking (for net/stdin) #define STREAMTYPE_DVD 3 // libdvdread +#define STREAMTYPE_MEMORY 4 #define STREAMTYPE_PLAYLIST 6 // FIXME!!! same as STREAMTYPE_FILE now #define STREAMTYPE_CDDA 10 // raw audio CD reader #define STREAMTYPE_SMB 11 // smb:// url, using libsmbclient (samba) @@ -101,6 +102,7 @@ #define STREAM_CTRL_GET_START_TIME 20 #define STREAM_CTRL_GET_CHAPTER_TIME 21 #define STREAM_CTRL_GET_DVD_INFO 22 +#define STREAM_CTRL_SET_CONTENTS 23 struct stream_lang_req { int type; // STREAM_AUDIO, STREAM_SUB |