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-31 19:08:26 +0100
commit14fdbe07acde25117d1aa8bbfdf12fe2c585af38 (patch)
treeec8d7b47ba0dbc6a356e8927f78ae33819604aeb /stream
parent61ed9a874733c11642108236fd98bfdb685f378a (diff)
downloadmpv-14fdbe07acde25117d1aa8bbfdf12fe2c585af38.tar.bz2
mpv-14fdbe07acde25117d1aa8bbfdf12fe2c585af38.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)) {