summaryrefslogtreecommitdiffstats
path: root/stream
diff options
context:
space:
mode:
authorAndre D <andre@andred.ca>2014-01-05 16:21:08 -0500
committerwm4 <wm4@nowhere>2014-01-05 23:07:34 +0100
commit7c425fb71f89fca945363fb49007a5a70e824016 (patch)
tree125470880382a1a7f94889b337f5122086734177 /stream
parent5819f4b7c9e65a2b73caa4f544dbbd97e3f21c93 (diff)
downloadmpv-7c425fb71f89fca945363fb49007a5a70e824016.tar.bz2
mpv-7c425fb71f89fca945363fb49007a5a70e824016.tar.xz
quvi: add option to not fetch subtitles
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'stream')
-rw-r--r--stream/resolve/resolve_quvi9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/resolve/resolve_quvi9.c b/stream/resolve/resolve_quvi9.c
index 108f1aabb7..7776b7d393 100644
--- a/stream/resolve/resolve_quvi9.c
+++ b/stream/resolve/resolve_quvi9.c
@@ -111,7 +111,7 @@ struct mp_resolve_result *mp_resolve_quvi(const char *url,
quvi_media_free(media);
}
- if (quvi_supports(q, url, mode, QUVI_SUPPORTS_TYPE_SUBTITLE)) {
+ if (opts->quvi_fetch_subtitles && quvi_supports(q, url, mode, QUVI_SUPPORTS_TYPE_SUBTITLE)) {
mp_info(log, "Getting subtitles...\n");
quvi_subtitle_t qsub = quvi_subtitle_new(q, url);
if (mp_quvi_ok(q, log)) {