diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-08 01:19:54 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-08 01:19:54 +0000 |
commit | 82b1541bc04d8336e9786af3e9a7349a6e25ca68 (patch) | |
tree | ce544ffa426608e66ccd3e6ea3dc199d89f00ca0 /libmpdemux | |
parent | bf1a641ef4c0caf3f183f38ea7f1c1a1282b1262 (diff) | |
download | mpv-82b1541bc04d8336e9786af3e9a7349a6e25ca68.tar.bz2 mpv-82b1541bc04d8336e9786af3e9a7349a6e25ca68.tar.xz |
STREAMTYPE_PLAYLIST introduced. similar to STREAMTYPE_STREAM but used for playlists. patch by Alban Bedel <albeu@free.fr>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4043 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/stream.c | 1 | ||||
-rw-r--r-- | libmpdemux/stream.h | 1 |
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 |