1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00
mpv/sub
wm4 1a1ac76d2a sd_lavc: extend subtitle resolution if images go outside
Helps with broken vobsubs, which have an incorrect resolution header
set.

So we just extend the subtitle resolution to the video size, if the
video size is larger. This helps somewhat with readability, or makes
them visible at all. It should be a pretty safe change, because normally
no sub pictures are supposed to go outside of the area. It should make a
difference with broken files only.

The sample in question had a video resolution of 1888x1072, and a
subtitle resolution of 720x480. Note that always using video resolution
as subtitle resolution would break other files.
2015-10-21 21:33:02 +02:00
..
ass_mp.c Update license headers 2015-04-13 12:10:01 +02:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c charset_conv: make it possible to return an allocated string as guess 2015-08-01 23:49:37 +02:00
dec_sub.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf
osd_libass.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
osd_state.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.c player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
sd_ass.c sd_ass: assume negative durations are unknown durations, and handle them 2015-08-27 23:45:02 +02:00
sd_lavc_conv.c Take care of libavcodec convergence_duration deprecation 2015-09-29 18:43:28 +02:00
sd_lavc.c sd_lavc: extend subtitle resolution if images go outside 2015-10-21 21:33:02 +02:00
sd_lavf_srt.c
sd_microdvd.c Update license headers 2015-04-13 12:10:01 +02:00
sd_movtext.c
sd_srt.c Update license headers 2015-04-13 12:10:01 +02:00
sd.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00