diff options
author | wm4 <wm4@nowhere> | 2013-12-06 23:00:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-06 23:00:19 +0100 |
commit | 8f3d0b5e532a1dfb52145875d4ee4376d0e0188b (patch) | |
tree | 6b3b593981edf221de7c6d3973986b4416727423 /stream/stream.h | |
parent | a53abbf4a68fdd700d6ef16e5a26db53d66e73c3 (diff) | |
download | mpv-8f3d0b5e532a1dfb52145875d4ee4376d0e0188b.tar.bz2 mpv-8f3d0b5e532a1dfb52145875d4ee4376d0e0188b.tar.xz |
player: load external subs for uncompressed rar archives
Uncompressed rar archives can be transparently opened, but the filename
the player doesn't have the direct filename (but something starting
with rar://... instead). This will lead to external subtitles not
being loaded.
This doesn't handle multi-volume rar files, but in that cases just use
the --autosub-match=fuzzy option.
Fixes #397 on github.
Diffstat (limited to 'stream/stream.h')
-rw-r--r-- | stream/stream.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stream/stream.h b/stream/stream.h index e4864f81b1..6d43f02a7c 100644 --- a/stream/stream.h +++ b/stream/stream.h @@ -100,6 +100,7 @@ enum stream_ctrl { STREAM_CTRL_GET_DVD_INFO, STREAM_CTRL_SET_CONTENTS, STREAM_CTRL_GET_METADATA, + STREAM_CTRL_GET_BASE_FILENAME, }; struct stream_lang_req { |