Mercurial > mplayer.hg
annotate parser-mecmd.h @ 26110:69790f7caffa
configure: Set CONFIG_ENCODERS=yes in config.mak unconditionally
config.h already had "#define CONFIG_ENCODERS 1" unconditionally, but
the config.mak value depended on whether MEncoder was enabled.
Encoders need to be enabled as some encoder code is used by MPlayer
too. The inconsistent values broke compilation with --disable-mencoder
after libavcodec Makefile made compilation of i386/dsputilenc_mmx.o
depend on the config.mak value.
author | uau |
---|---|
date | Mon, 03 Mar 2008 03:02:36 +0000 |
parents | 4129c8cfa742 |
children | 83c95bd31aab |
rev | line source |
---|---|
26029 | 1 #ifndef MPLAYER_PARSER_MECMD_H |
2 #define MPLAYER_PARSER_MECMD_H | |
8164 | 3 |
18265 | 4 /// \file |
5 /// \ingroup ConfigParsers MEntry | |
6 /// \brief A simple parser with per-entry settings. | |
8164 | 7 |
18265 | 8 /// \defgroup MEntry MEncoder's playlist |
9 ///@{ | |
10 | |
11 /// Playlist entry | |
8164 | 12 typedef struct m_entry_st { |
18265 | 13 /// Filename, url or whatever. |
14 char* name; | |
15 /// NULL terminated list of name,val pairs. | |
16 char** opts; | |
8164 | 17 } m_entry_t; |
18 | |
18265 | 19 /// Free a list returned by \ref m_config_parse_me_command_line. |
8164 | 20 void |
21 m_entry_list_free(m_entry_t* lst); | |
18265 | 22 |
23 /// Helper to set all config options from an entry. | |
8164 | 24 int |
25 m_entry_set_options(m_config_t *config, m_entry_t* entry); | |
26 | |
18265 | 27 /// Setup the \ref Config from command line arguments and build a playlist. |
28 /** \ingroup ConfigParsers | |
29 */ | |
8164 | 30 m_entry_t* |
31 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv); | |
32 | |
18265 | 33 ///@} |
25553
6ac1ece1f9fe
Add multiple inclusion guards to all header files that lack them.
diego
parents:
18265
diff
changeset
|
34 |
26029 | 35 #endif /* MPLAYER_PARSER_MECMD_H */ |