summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/stream.c1
-rw-r--r--libmpdemux/stream.h1
2 files changed, 2 insertions, 0 deletions
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