Mercurial > mplayer.hg
comparison asxparser.c @ 12223:e7c8200ffdc5
Respect -playlist for asx streams
Patch by adland
author | rtognimp |
---|---|
date | Sat, 17 Apr 2004 16:46:41 +0000 |
parents | 6180d7558f75 |
children | 51b992a72b17 |
comparison
equal
deleted
inserted
replaced
12222:da3cc73c2f98 | 12223:e7c8200ffdc5 |
---|---|
7 #include <unistd.h> | 7 #include <unistd.h> |
8 | 8 |
9 #include "playtree.h" | 9 #include "playtree.h" |
10 #include "playtreeparser.h" | 10 #include "playtreeparser.h" |
11 #include "libmpdemux/stream.h" | 11 #include "libmpdemux/stream.h" |
12 #include "libmpdemux/demuxer.h" | |
12 #include "asxparser.h" | 13 #include "asxparser.h" |
13 #include "mp_msg.h" | 14 #include "mp_msg.h" |
14 #include "m_config.h" | 15 #include "m_config.h" |
15 | 16 |
16 extern m_config_t* mconfig; | 17 extern m_config_t* mconfig; |
504 asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { | 505 asx_parse_entryref(ASX_Parser_t* parser,char* buffer,char** _attribs) { |
505 play_tree_t* pt; | 506 play_tree_t* pt; |
506 char *href; | 507 char *href; |
507 stream_t* stream; | 508 stream_t* stream; |
508 play_tree_parser_t* ptp; | 509 play_tree_parser_t* ptp; |
509 int f; | 510 int f=DEMUXER_TYPE_UNKNOWN; |
510 | 511 |
511 if(parser->deep > 0) | 512 if(parser->deep > 0) |
512 return NULL; | 513 return NULL; |
513 | 514 |
514 href = asx_get_attrib("HREF",_attribs); | 515 href = asx_get_attrib("HREF",_attribs); |