From df0f80508ece7dab3740840fc0eb0b4ecef3f77f Mon Sep 17 00:00:00 2001 From: ulion Date: Fri, 14 Dec 2007 08:16:39 +0000 Subject: 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 --- cfg-mplayer.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cfg-mplayer.h') 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}, -- cgit v1.2.3