1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-21 02:41:13 +00:00
mpv/DOCS/man
wm4 caf228b218 player: make external subtitle auto-loading stricter
By default --sub-auto uses "exact". This was far from an "exact" match,
because it added anything that started with the video filename (without
extension), and seemed to end in something that looked like a language
code.

Make this stricter. "exact" still tolerate a language code, but the
video's filename must come before it without any unknown extra
characters. This may not load subtitles in some situations where it
previously did, and where the user might think that the naming
convention is such that it should be considered an exact match.

The subtitle priority sorting seems a bit worthless. I suppose it may
have some value in higher "fuzz" modes (like --sub-auto=fuzzy).

Also remove the mysterious "prio += prio;" line. I probably shouldn't
have checked, but it goes back to commit f16fa9d31 (2003), where someone
wanted to "refine" the priority without changing the rest of the code or
something.

Mostly untested, so have fun.

Fixes: #7702
2020-05-09 23:31:33 +02:00
..
af.rst audio: remove unreferenced af_lavrresample 2019-09-19 20:37:05 +02:00
ao.rst ao_oss: remove this audio output 2020-03-28 20:59:31 +01:00
changes.rst manpage: directly link interface-changes.rst in changelog section 2020-02-21 14:34:02 +01:00
console.rst console: use hidpi scale reporting 2019-12-20 13:00:39 +01:00
encode.rst manpage: explain deprecated usage of multiple items with *-add 2020-01-07 18:13:12 +01:00
input.rst stats: some more performance graphs 2020-04-09 00:33:38 +02:00
ipc.rst ipc: allow sending commands with named arguments 2020-02-24 00:31:46 +01:00
javascript.rst DOCS: js: minor update for require 2020-02-07 19:24:00 +02:00
libmpv.rst manpage: define stricter rules for C plugin return values 2017-01-14 17:41:04 +01:00
lua.rst documentation: fix some ReST syntax mistakes in lua.rst 2020-05-01 20:48:51 +02:00
mpv.rst stream_lavf: use smb:// for ffmpeg libsmbclient support 2020-03-07 13:55:20 +01:00
options.rst player: make external subtitle auto-loading stricter 2020-05-09 23:31:33 +02:00
osc.rst osc: use default hr-seek when dragging progress bar to seek 2020-02-28 17:17:42 +01:00
stats.rst stats: support UP/DOWN to scroll at page 4 (perf) 2020-04-11 16:04:46 +03:00
vf.rst video: add alpha type metadata 2020-04-24 14:41:50 +02:00
vo.rst manpage: fix wrong option name for --fbo-format 2020-04-14 20:29:08 +02:00