summaryrefslogtreecommitdiffstats
path: root/libmpdemux/stream.h
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-29 12:54:00 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-05-29 12:54:00 +0000
commit83b3c822becab58bdf25bcef7c247d674908ddcb (patch)
treeeaf10adfc92fb90f5a69f642be7c1e10a5beb060 /libmpdemux/stream.h
parentc1bd86b4cdeb863282fe5ae1399d8d1ea68c9496 (diff)
downloadmpv-83b3c822becab58bdf25bcef7c247d674908ddcb.tar.bz2
mpv-83b3c822becab58bdf25bcef7c247d674908ddcb.tar.xz
ported all network streams to the new API
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15586 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/stream.h')
-rw-r--r--libmpdemux/stream.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h
index 4ada0fb9d5..46738f80dc 100644
--- a/libmpdemux/stream.h
+++ b/libmpdemux/stream.h
@@ -20,6 +20,7 @@
#define STREAMTYPE_VCDBINCUE 12 // vcd directly from bin/cue files
#define STREAMTYPE_DVB 13
#define STREAMTYPE_VSTREAM 14
+#define STREAMTYPE_SDP 15
#define STREAM_BUFFER_SIZE 2048
@@ -110,6 +111,7 @@ int cache_stream_seek_long(stream_t *s,off_t pos);
#define cache_stream_seek_long(x,y) stream_seek_long(x,y)
#define stream_enable_cache(x,y,z,w) 1
#endif
+int fixup_network_stream_cache(stream_t *stream);
inline static int stream_read_char(stream_t *s){
return (s->buf_pos<s->buf_len)?s->buffer[s->buf_pos++]: