mpv/sub
wm4 f3871193fc sd_srt, sd_microdvd: set ASS script resolution
Both converters can output \pos and deal with font sizes, so they assume
a specific script resolution (PlayResX/PlayResY). The implicit
assumption was that a specific resolution was guaranteed. The
MP_ASS_FONT_PLAYRESY constant is connected to this.

Better make it explicit, so that the implicit dependency on
MP_ASS_FONT_PLAYRESY is removed. (Unfortunately, libavcodec sub
converters still don't set PlayResX/PlayResY explicitly, so the value
set by that constant can't be declared as arbitrary yet.)

PlayResY=288 is most likely the SSA natural script resolution (or
something like this?), as well as the libass and VSFilter default.
PlayResX=384 is the fallback value set by libass if PlayResY is set to
288, and PlayResX is unset.
2013-06-03 23:00:39 +02:00
..
ass_mp.c ass_mp: provide function to add default styles 2013-06-03 22:40:07 +02:00
ass_mp.h sd_srt, sd_microdvd: set ASS script resolution 2013-06-03 23:00:39 +02:00
dec_sub.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
dec_sub.h
draw_bmp.c
draw_bmp.h
find_subfiles.c
find_subfiles.h
img_convert.c
img_convert.h
osd_dummy.c
osd_font.otf
osd_libass.c ass_mp: provide function to add default styles 2013-06-03 22:40:07 +02:00
sd.h sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_ass.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_lavc.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_lavc_conv.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_microdvd.c sd_srt, sd_microdvd: set ASS script resolution 2013-06-03 23:00:39 +02:00
sd_movtext.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_spu.c sub: add name field to all sub decoders 2013-06-03 22:40:32 +02:00
sd_srt.c sd_srt, sd_microdvd: set ASS script resolution 2013-06-03 23:00:39 +02:00
spudec.c
spudec.h
sub.c
sub.h
subreader.c sub: turn subassconvert_ functions into sub converters 2013-06-03 22:40:02 +02:00
subreader.h sub: turn subassconvert_ functions into sub converters 2013-06-03 22:40:02 +02:00