view 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
line wrap: on
line source

#ifndef MPLAYER_PARSER_MPCMD_H
#define MPLAYER_PARSER_MPCMD_H

#include "playtree.h"
#include "m_config.h"

play_tree_t* m_config_parse_mp_command_line(m_config_t *config, int argc, char **argv);

#endif /* MPLAYER_PARSER_MPCMD_H */