mpv/sub
wm4 cc32aa436e sd_lavc: apply fallback to video resolution only for vobsubs
Commit 87c13de6 added a fallback to video resolution if the subtitle
resolution is unknown. Apparently this fixed some broken files with
vobsubs.

This broke some DVB subtitles. Apparently .ts captures with 1920x1080
video resolution and 720x576 subtitles do exist. The sample at hand had
some streams with 720x576 resolution and no sub resolution set, and some
streams with 1920x1080 resolution and sub resolution set (both against
the same 1920x1080 video). My conclusion is that 720x576 is the only
reasonable fallback for DVB (but I can't be sure).

The fallback is removed for PGS too. I don't know about the PGS case; it
seems the sub resolution must always be set, so it shouldn't matter.

Fixes #1425.
2015-01-25 17:00:07 +09:00
..
ass_mp.c sub: adjustments to --ass-style-override option 2014-10-17 02:06:08 +02:00
ass_mp.h
dec_sub.c demux: gracefully handle packet allocation failures 2014-09-16 18:11:00 +02:00
dec_sub.h
draw_bmp.c draw_bmp: make code more obvious, remove assertion 2014-11-21 05:56:55 +01:00
draw_bmp.h
find_subfiles.c sub: load .mks files as external subtitles 2014-11-06 00:18:58 +01:00
find_subfiles.h
img_convert.c img_convert: sanitizer: avoid invalid left-shifts 2014-09-14 21:10:09 +02:00
img_convert.h
osd.c sub: remove osd_get_sub() 2014-11-01 00:02:01 +01:00
osd.h sub: remove osd_get_sub() 2014-11-01 00:02:01 +01:00
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c player: add option not to use OSD/fontconfig 2014-11-25 11:08:25 +01:00
osd_state.h video/out: change aspects of OSD handling 2014-06-15 20:53:15 +02:00
sd.h
sd_ass.c sub: add option to workaround broken mkv files 2014-08-14 23:59:35 +02:00
sd_lavc.c sd_lavc: apply fallback to video resolution only for vobsubs 2015-01-25 17:00:07 +09:00
sd_lavc_conv.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_movtext.c
sd_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00