Prefer vo vdpau over vo xv where available.
[mplayer/glamo.git] / parser-mecmd.h
bloba7f5b33bfff6b9a3d9c2df9402b28bbef5f1587f
1 #ifndef MPLAYER_PARSER_MECMD_H
2 #define MPLAYER_PARSER_MECMD_H
4 #include "m_config.h"
6 /// \file
7 /// \ingroup ConfigParsers MEntry
8 /// \brief A simple parser with per-entry settings.
10 /// \defgroup MEntry MEncoder's playlist
11 ///@{
13 /// Playlist entry
14 typedef struct m_entry_st {
15 /// Filename, url or whatever.
16 char* name;
17 /// NULL terminated list of name,val pairs.
18 char** opts;
19 } m_entry_t;
21 /// Free a list returned by \ref m_config_parse_me_command_line.
22 void
23 m_entry_list_free(m_entry_t* lst);
25 /// Helper to set all config options from an entry.
26 int
27 m_entry_set_options(m_config_t *config, m_entry_t* entry);
29 /// Setup the \ref Config from command line arguments and build a playlist.
30 /** \ingroup ConfigParsers
32 m_entry_t*
33 m_config_parse_me_command_line(m_config_t *config, int argc, char **argv);
35 ///@}
37 #endif /* MPLAYER_PARSER_MECMD_H */