view playtreeparser.h @ 8207:467ffae428b0

I recently sent a patch for a new subtitles format, JACOsub. Since then I found a better definition of jacosub standard, and this patch is the result. It supports timeresolutions changes and shifts. Salvatore Falco <sfalco@studenti.ing.uniroma1.it>
author arpi
date Sat, 16 Nov 2002 03:25:37 +0000
parents 487cfc28525d
children 5c15777f1c07
line wrap: on
line source


#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);

#endif