summaryrefslogtreecommitdiffstats
path: root/cfg-mplayer.h
diff options
context:
space:
mode:
authorulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-14 08:16:39 +0000
committerulion <ulion@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-14 08:16:39 +0000
commitdf0f80508ece7dab3740840fc0eb0b4ecef3f77f (patch)
tree89ba6db1bf36a76879228ef6878973ec513e10aa /cfg-mplayer.h
parent5eaf53d925ebb63188e0fb79928326f9cc50ab62 (diff)
downloadmpv-df0f80508ece7dab3740840fc0eb0b4ecef3f77f.tar.bz2
mpv-df0f80508ece7dab3740840fc0eb0b4ecef3f77f.tar.xz
Support using unrar executable to access rar-compressed vobsub files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25389 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-mplayer.h')
-rw-r--r--cfg-mplayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cfg-mplayer.h b/cfg-mplayer.h
index cc5caa8c09..e968dd6d34 100644
--- a/cfg-mplayer.h
+++ b/cfg-mplayer.h
@@ -35,6 +35,8 @@ extern char *menu_fribidi_charset;
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 @@ const m_option_t mplayer_opts[]={
// 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},