mirror of
https://github.com/mpv-player/mpv
synced 2024-11-03 03:19:24 +01:00
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
This commit is contained in:
parent
bf1a641ef4
commit
82b1541bc0
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user