Mercurial > mplayer.hg
view playtreeparser.h @ 7256:ec6dd0a29d93
Add the code that chooses a good X11 truecolor visual to the vo_x11 config()
function. This is useful for framebuffers on Sun hardware, where we have
multiple truecolor visuals of different depths available, and the root
window typically runs at depth 8, yet there are 24 bit true color visuals
available as well.
author | jkeil |
---|---|
date | Tue, 03 Sep 2002 18:10:42 +0000 |
parents | 4b728967bd77 |
children | 487cfc28525d |
line wrap: on
line source
#ifndef __PLAYTREEPARSER_H #define __PLAYTREEPARSER_H #include "playtree.h" #include "libmpdemux/stream.h" typedef struct play_tree_parser { stream_t* 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(stream_t* 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