[Mplayer-cvslog] CVS: main/libmpdemux stream.h,1.24,1.25 stream.c,1.25,1.26

Arpi of Ize arpi at mplayer.dev.hu
Tue Jan 8 02:19:56 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv1108

Modified Files:
	stream.h stream.c 
Log Message:
STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel <albeu at free.fr>

Index: stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- stream.h	7 Jan 2002 09:22:01 -0000	1.24
+++ stream.h	8 Jan 2002 01:19:54 -0000	1.25
@@ -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

Index: stream.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- stream.c	3 Dec 2001 17:14:36 -0000	1.25
+++ stream.c	8 Jan 2002 01:19:54 -0000	1.26
@@ -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;




More information about the MPlayer-cvslog mailing list