# HG changeset patch # User bertrand # Date 1006294880 0 # Node ID 02a43ca97b5282fb60bbb20d7f5cbd96ed04fc41 # Parent 6b6fa2be9b970fe3c5606e5f0e81eca2a59aba62 Added a new struct to stream_t to handle, network streaming. diff -r 6b6fa2be9b97 -r 02a43ca97b52 libmpdemux/stream.h --- 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