From e9f3fd3e94a6d3c6d8204ebd3f4170e5615a503a Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 20 Nov 2001 22:21:20 +0000 Subject: [PATCH] Added a new struct to stream_t to handle, network streaming. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3044 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/stream.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/libmpdemux/stream.h b/libmpdemux/stream.h index 9bda039c1b..749560b671 100644 --- a/libmpdemux/stream.h +++ b/libmpdemux/stream.h @@ -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 @@ typedef struct { 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