Mercurial > mplayer.hg
annotate parser-mpcmd.h @ 30017:7119354805e7
Use on-stack subtitle struct for temporary storage for passing subtitles on
for rendering by libass.
This avoids mangling the static subtitle struct that is supposed to contain
the subtitles that will actually be displayed and it also minimally reduces
memory usage by freeing the subtitle lines again as early as possible.
author | reimar |
---|---|
date | Fri, 18 Dec 2009 19:29:33 +0000 |
parents | 83c95bd31aab |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSER_MPCMD_H |
2 #define MPLAYER_PARSER_MPCMD_H | |
19808 | 3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26129
diff
changeset
|
4 #include "playtree.h" |
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26129
diff
changeset
|
5 #include "m_config.h" |
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26129
diff
changeset
|
6 |
26129
704ef034ed7c
Remove pointless extern keyword from function declaration.
diego
parents:
26029
diff
changeset
|
7 play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv); |
19808 | 8 |
26029 | 9 #endif /* MPLAYER_PARSER_MPCMD_H */ |