mpv/sub
wm4 3bf7df4a5e sub: move all subtitle timestamp messing code to a central place
It was split at least across osd.c and sd_ass.c/sd_lavc.c. sd_lavc.c
actually ignored most of the more obscure subtitle timing things.
There's no reason for this - just move it all to dec_sub.c (mostly from
sd_ass.c, because it has some of the most complex stuff).

Now timestamps are transformed as they enter or leave dec_sub.c.

There appear to have been some subtle mismatches about how subtitle
timestamps were transformed, e.g. sd_functions.accepts_packet didn't
apply the subtitle speed to the timestamp. This patch should fix them,
although it's not clear if they caused actual misbehavior.

The semantics of SD_CTRL_SUB_STEP are slightly changed, which is the
reason for the changes in command.c and sd_lavc.c.
2018-01-02 14:27:37 -08:00
..
ass_mp.c msg: reinterpret a bunch of message levels 2017-12-15 22:28:47 -08:00
ass_mp.h ass_mp: change license to LGPL 2017-04-20 12:53:09 +02:00
dec_sub.c sub: move all subtitle timestamp messing code to a central place 2018-01-02 14:27:37 -08:00
dec_sub.h player: add experimental stream recording feature 2017-02-07 17:05:17 +01:00
draw_bmp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
filter_sdh.c filter_sdh: remove pointless set_pos function 2017-04-20 08:22:46 +02:00
img_convert.c sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
img_convert.h sub: move RGBA scaling to vo_vaapi 2016-07-03 19:32:43 +02:00
lavc_conv.c lavc_conv: make disable_styles faster 2017-10-30 12:44:11 +01:00
osd.c sub: move all subtitle timestamp messing code to a central place 2018-01-02 14:27:37 -08:00
osd.h vo_opengl: don't discard buffered video on redundant resize calls 2017-08-29 15:15:34 +02:00
osd_dummy.c command: shorten long playlists on OSD 2017-01-26 18:24:53 +01:00
osd_font.otf osd-font: make volume muted glyph slightly thicker 2017-04-22 18:03:16 +01:00
osd_libass.c osd: don't skip leading whitespace on the first line either 2017-11-02 16:46:09 +01:00
osd_state.h osd_libass: avoid libass warnings if scripts set ASS text early 2017-07-16 13:33:19 +02:00
sd.h sub: add SDH subtitle filter 2017-03-25 15:04:05 +01:00
sd_ass.c sub: move all subtitle timestamp messing code to a central place 2018-01-02 14:27:37 -08:00
sd_lavc.c sub: move all subtitle timestamp messing code to a central place 2018-01-02 14:27:37 -08:00