changeset 4042:d651a7b5d213

STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel <albeu@free.fr>
author arpi
date Tue, 08 Jan 2002 01:19:54 +0000
parents 879a668ee540
children 25590564842f
files libmpdemux/stream.c libmpdemux/stream.h
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;
--- 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