Mercurial > mplayer.hg
view playtreeparser.h @ 9579:89d27a306886
*signed int vlc (needs only 5 lines of code so its no increase of complexity)
*moving subpacket shuffle type to the header
*encoding packet timestamps as signed difference from the msb_timestamp this is more flexible & cleaner
*optionally storing the keyframe flag for subpackets (in RLE)
*storing the timestamps differences for subpackets (in RLE)
*storing the signed differences of subpacket sizes instead of unsigned diff from some base size
*more compact encoding of common name/type for info packets
*removing fixed entries at the start of info packets (simpler)
*removing stuffing packet (uneeded, vlc itself allows padding)
*fixing sample code
author | michael |
---|---|
date | Thu, 13 Mar 2003 15:32:48 +0000 |
parents | 5c15777f1c07 |
children | 4bc481804519 |
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, int forced); #endif