From 82b1541bc04d8336e9786af3e9a7349a6e25ca68 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 8 Jan 2002 01:19:54 +0000 Subject: [PATCH] STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4043 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/stream.c | 1 + libmpdemux/stream.h | 1 + 2 files changed, 2 insertions(+) diff --git a/libmpdemux/stream.c b/libmpdemux/stream.c index 99ef6add09..7ddfa89ac4 100644 --- a/libmpdemux/stream.c +++ b/libmpdemux/stream.c @@ -40,6 +40,7 @@ int stream_fill_buffer(stream_t *s){ 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 --git a/libmpdemux/stream.h b/libmpdemux/stream.h index 952909eb20..3d39a1a0f9 100644 --- a/libmpdemux/stream.h +++ b/libmpdemux/stream.h @@ -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