aboutsummaryrefslogtreecommitdiffhomepage
path: root/options
diff options
context:
space:
mode:
authorGravatar Andre D <andre@andred.ca>2014-01-05 16:21:08 -0500
committerGravatar wm4 <wm4@nowhere>2014-01-05 23:07:34 +0100
commit7c425fb71f89fca945363fb49007a5a70e824016 (patch)
tree125470880382a1a7f94889b337f5122086734177 /options
parent5819f4b7c9e65a2b73caa4f544dbbd97e3f21c93 (diff)
quvi: add option to not fetch subtitles
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
-rw-r--r--options/options.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index a92ace3ec0..d52672cde1 100644
--- a/options/options.c
+++ b/options/options.c
@@ -316,6 +316,7 @@ const m_option_t mp_opts[] = {
({"no", 0}, {"attachment", 1})),
OPT_STRING("quvi-format", quvi_format, 0),
+ OPT_FLAG("quvi-fetch-subtitles", quvi_fetch_subtitles, 0),
#if HAVE_CDDA
{ "cdda", (void *)&cdda_opts, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
@@ -718,6 +719,7 @@ const struct MPOpts mp_default_opts = {
.sub_visibility = 1,
.sub_pos = 100,
.sub_speed = 1.0,
+ .quvi_fetch_subtitles = 1,
.audio_output_channels = MP_CHMAP_INIT_STEREO,
.audio_output_format = 0, // AF_FORMAT_UNKNOWN
.playback_speed = 1.,
diff --git a/options/options.h b/options/options.h
index b4366a2f2e..6b5e1c7392 100644
--- a/options/options.h
+++ b/options/options.h
@@ -158,6 +158,7 @@ typedef struct MPOpts {
int forced_subs_only;
int stretch_dvd_subs;
char *quvi_format;
+ int quvi_fetch_subtitles;
// subreader.c
int suboverlap_enabled;