diff 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
line wrap: on
line diff
--- a/cfg-mplayer.h	Fri Dec 14 07:15:13 2007 +0000
+++ b/cfg-mplayer.h	Fri Dec 14 08:16:39 2007 +0000
@@ -35,6 +35,8 @@
 extern int menu_flip_hebrew;
 extern int menu_fribidi_flip_commas;
 
+extern char *unrar_executable;
+
 extern int vo_zr_parseoption(const m_option_t* conf, char *opt, char * param);
 extern void vo_zr_revertoption(const m_option_t* opt,char* pram);
 
@@ -267,6 +269,9 @@
 	// these should be moved to -common, and supported in MEncoder
 	{"vobsub", &vobsub_name, CONF_TYPE_STRING, 0, 0, 0, NULL},
 	{"vobsubid", &vobsub_id, CONF_TYPE_INT, CONF_RANGE, 0, 31, NULL},
+#ifdef USE_UNRAR_EXEC
+	{"unrarexec", &unrar_executable, CONF_TYPE_STRING, 0, 0, 0, NULL},
+#endif
 
 	{"sstep", &step_sec, CONF_TYPE_INT, CONF_MIN, 0, 0, NULL},