1
mirror of https://github.com/mpv-player/mpv synced 2024-11-03 03:19:24 +01:00

STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel <albeu@free.fr>

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4043 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-01-08 01:19:54 +00:00
parent bf1a641ef4
commit 82b1541bc0
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ int stream_fill_buffer(stream_t *s){
switch(s->type){ switch(s->type){
case STREAMTYPE_FILE: case STREAMTYPE_FILE:
case STREAMTYPE_STREAM: case STREAMTYPE_STREAM:
case STREAMTYPE_PLAYLIST:
#ifdef STREAMING #ifdef STREAMING
if( s->streaming_ctrl!=NULL ) { if( s->streaming_ctrl!=NULL ) {
len=s->streaming_ctrl->streaming_read(s->fd,s->buffer,STREAM_BUFFER_SIZE, s->streaming_ctrl);break; len=s->streaming_ctrl->streaming_read(s->fd,s->buffer,STREAM_BUFFER_SIZE, s->streaming_ctrl);break;

View File

@ -11,6 +11,7 @@
#define STREAMTYPE_DVD 3 #define STREAMTYPE_DVD 3
#define STREAMTYPE_MEMORY 4 #define STREAMTYPE_MEMORY 4
#define STREAMTYPE_TV 5 #define STREAMTYPE_TV 5
#define STREAMTYPE_PLAYLIST 6
#define VCD_SECTOR_SIZE 2352 #define VCD_SECTOR_SIZE 2352
#define VCD_SECTOR_OFFS 24 #define VCD_SECTOR_OFFS 24