1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 07:42:17 +00:00
mpv/playtreeparser.h
arpi 89875edb32 this patch adds an fallback to playlist (any but the plaintext-list format)
after all demuxers failed. so -playlist is not needed any more!
patch by Fabian Franz <FabianFranz@gmx.de>, with some small modifications


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-12 19:41:38 +00:00

25 lines
456 B
C

#ifndef __PLAYTREEPARSER_H
#define __PLAYTREEPARSER_H
struct stream_st;
typedef struct play_tree_parser {
struct stream_st* stream;
char *buffer,*iter,*line;
int buffer_size , buffer_end;
int deep,keep;
} play_tree_parser_t;
play_tree_parser_t*
play_tree_parser_new(struct stream_st* stream,int deep);
void
play_tree_parser_free(play_tree_parser_t* p);
play_tree_t*
play_tree_parser_get_play_tree(play_tree_parser_t* p, int forced);
#endif