# HG changeset patch # User arpi # Date 1010452794 0 # Node ID d651a7b5d21356119b72a1a17b86c13531981566 # Parent 879a668ee54028cf66bc6295ceed4cc4ba8db821 STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel diff -r 879a668ee540 -r d651a7b5d213 libmpdemux/stream.c --- a/libmpdemux/stream.c Tue Jan 08 01:13:22 2002 +0000 +++ b/libmpdemux/stream.c Tue Jan 08 01:19:54 2002 +0000 @@ -40,6 +40,7 @@ switch(s->type){ case STREAMTYPE_FILE: case STREAMTYPE_STREAM: + case STREAMTYPE_PLAYLIST: #ifdef STREAMING if( s->streaming_ctrl!=NULL ) { len=s->streaming_ctrl->streaming_read(s->fd,s->buffer,STREAM_BUFFER_SIZE, s->streaming_ctrl);break; diff -r 879a668ee540 -r d651a7b5d213 libmpdemux/stream.h --- a/libmpdemux/stream.h Tue Jan 08 01:13:22 2002 +0000 +++ b/libmpdemux/stream.h Tue Jan 08 01:19:54 2002 +0000 @@ -11,6 +11,7 @@ #define STREAMTYPE_DVD 3 #define STREAMTYPE_MEMORY 4 #define STREAMTYPE_TV 5 +#define STREAMTYPE_PLAYLIST 6 #define VCD_SECTOR_SIZE 2352 #define VCD_SECTOR_OFFS 24