view parser-mecmd.h @ 17893:aa38bf333f18

1.1230: Typo fix: "URLs to forces" --> "URLs to force" 1.1229: Allows the LIVE555 library to forces the client's port to be used... 1.1228: dwStart support for mencoder. 1.1227: This patch removes mmap support because it doesn't have any benefit. 1.1226: Rephrase telecine and film2pal mpegopts. 1.1225: Remove stray space. 1.1224: mention film2pal in -mpegopts 1.1223: -fixed-vo shall no longer be called BETA-CODE.
author kraymer
date Sat, 18 Mar 2006 20:02:47 +0000
parents 487cfc28525d
children 1a14fde7680d
line wrap: on
line source


/// A simple parser with per-entry settings.

typedef struct m_entry_st {
  char* name; // Filename, url or whatever
  char** opts; // NULL terminated list of name,val pairs 
} m_entry_t;

// Free a list returned by m_config_parse_command_line
void
m_entry_list_free(m_entry_t* lst);
// Use this when you switch to another entry
int
m_entry_set_options(m_config_t *config, m_entry_t* entry);

m_entry_t*
m_config_parse_me_command_line(m_config_t *config, int argc, char **argv);