changeset 3043:02a43ca97b52

Added a new struct to stream_t to handle, network streaming.
author bertrand
date Tue, 20 Nov 2001 22:21:20 +0000
parents 6b6fa2be9b97
children 606bb6943ae9
files libmpdemux/stream.h
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/stream.h	Tue Nov 20 22:20:20 2001 +0000
+++ b/libmpdemux/stream.h	Tue Nov 20 22:21:20 2001 +0000
@@ -14,6 +14,10 @@
 #define VCD_SECTOR_OFFS 24
 #define VCD_SECTOR_DATA 2324
 
+#ifdef STREAMING
+#include "network.h"
+#endif
+
 int vcd_seek_to_track(int fd,int track);
 void vcd_read_toc(int fd);
 
@@ -32,6 +36,9 @@
   void* cache_data;
   void* priv; // used for DVD
   unsigned char buffer[STREAM_BUFFER_SIZE>VCD_SECTOR_SIZE?STREAM_BUFFER_SIZE:VCD_SECTOR_SIZE];
+#ifdef STREAMING
+  streaming_ctrl_t *streaming_ctrl;
+#endif
 } stream_t;
 
 #ifdef USE_STREAM_CACHE