comparison cfg-mplayer.h @ 25361:f95cd1391ea0

Support using unrar executable to access rar-compressed vobsub files.
author ulion
date Fri, 14 Dec 2007 08:16:39 +0000
parents 7c82d9df9c38
children 6ac1ece1f9fe
comparison
equal deleted inserted replaced
25360:574ff7687644 25361:f95cd1391ea0
32 extern int menu_keepdir; 32 extern int menu_keepdir;
33 extern char *menu_chroot; 33 extern char *menu_chroot;
34 extern char *menu_fribidi_charset; 34 extern char *menu_fribidi_charset;
35 extern int menu_flip_hebrew; 35 extern int menu_flip_hebrew;
36 extern int menu_fribidi_flip_commas; 36 extern int menu_fribidi_flip_commas;
37
38 extern char *unrar_executable;
37 39
38 extern int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param); 40 extern int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
39 extern void vo_zr_revertoption(const m_option_t* opt,char* pram); 41 extern void vo_zr_revertoption(const m_option_t* opt,char* pram);
40 42
41 extern m_option_t dxr2_opts[]; 43 extern m_option_t dxr2_opts[];
265 #endif /* HAVE_MENU */ 267 #endif /* HAVE_MENU */
266 268
267 // these should be moved to -common, and supported in MEncoder 269 // these should be moved to -common, and supported in MEncoder
268 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL}, 270 {"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
269 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL}, 271 {"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
272 #ifdef USE_UNRAR_EXEC
273 {"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
274 #endif
270 275
271 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL}, 276 {"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},
272 277
273 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL}, 278 {"framedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 1, NULL},
274 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL}, 279 {"hardframedrop", &frame_dropping, CONF_TYPE_FLAG, 0, 0, 2, NULL},