1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00
mpv/sub
wm4 dc475728e0 find_subfiles: don't auto-load .sub file if .idx file exists
External vobsubs usually come as .idx/.sub pairs. Loading the .idx file
implicitly loads the .sub file, whereas loading the .sub file will kind
of work, but miss important information such as subtitle resolution. Or
in other words, if the .idx file exists, adding the .sub file as track
is useless and confusing.

Explicitly remove .sub file from the auto-load suntitle list in these
cases. Standalone .sub files are still loaded.

We also drop that weird logic that excluded .utf8 files from being
loaded if -subcp was in use. I hope the associated use case didn't make
much sense to begin with. If not, we could still implement it properly,
instead of this weird hack.
2013-09-07 20:34:49 +02:00
..
ass_mp.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ass_mp.h sub: add demux_libass wrapper, drop old hacks 2013-06-25 00:11:56 +02:00
dec_sub.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
dec_sub.h sd_add: add terrible hack for (xy-)vsfilter compatibility 2013-07-15 02:01:37 +02:00
draw_bmp.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
draw_bmp.h
find_subfiles.c find_subfiles: don't auto-load .sub file if .idx file exists 2013-09-07 20:34:49 +02:00
find_subfiles.h find_subfiles: some cleanups 2013-09-07 20:34:49 +02:00
img_convert.c Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
osd_dummy.c
osd_font.otf
osd_libass.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_ass.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_lavc_conv.c sd_lavc_conv: fix build with older ffmpeg/libav 2013-08-24 20:07:05 +02:00
sd_lavc.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_lavf_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_microdvd.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_movtext.c sd_ass: disable special handling of subtitles with duration 0 2013-06-25 00:11:54 +02:00
sd_spu.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd.h dec_sub: introduce sub_control(), use it for sub_step 2013-06-29 22:58:14 +02:00
spudec.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
spudec.h sub: add sd_spu.c to wrap spudec, cleanup mplayer.c 2013-05-30 22:40:32 +02:00
sub.c Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
sub.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00