Mercurial > mplayer.hg
annotate parser-cfg.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 | 8fd1ec0984b9 |
children | c1a3f1bbba26 |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSER_CFG_H |
2 #define MPLAYER_PARSER_CFG_H | |
19808 | 3 |
26131
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26127
diff
changeset
|
4 #include "m_config.h" |
83c95bd31aab
Add necessary #includes to pass 'make checkheaders'.
diego
parents:
26127
diff
changeset
|
5 |
29559
8fd1ec0984b9
Make m_config_parse_config_file file name argument const
reimar
parents:
26408
diff
changeset
|
6 int m_config_parse_config_file(m_config_t* config, const char *conffile); |
19808 | 7 |
26408
7a36d5941fd8
Replace the trivial command line preparser with a more robust version
albeu
parents:
26131
diff
changeset
|
8 int m_config_preparse_command_line(m_config_t *config, int argc, char **argv); |
7a36d5941fd8
Replace the trivial command line preparser with a more robust version
albeu
parents:
26131
diff
changeset
|
9 |
26029 | 10 #endif /* MPLAYER_PARSER_CFG_H */ |