mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 11:02:10 +00:00
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
This commit is contained in:
parent
55d2e87d8f
commit
e9f3fd3e94
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user