[Mplayer-cvslog] CVS: main/libmpdemux stream.h,1.14,1.15

Bertrand Baudet bertrand at mplayer.dev.hu
Tue Nov 20 23:21:23 CET 2001


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv23208

Modified Files:
	stream.h 
Log Message:
Added a new struct to stream_t to handle, network streaming.


Index: stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- stream.h	16 Nov 2001 22:26:57 -0000	1.14
+++ stream.h	20 Nov 2001 22:21:20 -0000	1.15
@@ -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




More information about the MPlayer-cvslog mailing list