1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +00:00
mpv/sub
wm4 7089175d8d sd_lavc: use decoder-reordered PTS for PGS
There is an obscure feature which requires essentially reordering PTS
from different packets.

Unfortunately, libavcodec introduced a ridiculously shitty API for
this, which works very much unlike the audio/video API. Instead of
simply passing through the PTS, it wants to fuck with it for no reason,
and even worse, fucks with other fields and changes their semantivcs
(??????). This affects AVSubtitle.end_display_time. This probably will
cause issues for us, and I have no desire to find out whether it will.
Since only PGS requires this, and it happens not to use
end_display_time, do it for PGS only.

Fixes #3016.
2016-04-02 17:41:12 +02:00
..
ass_mp.c osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
ass_mp.h osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
dec_sub.c sub: force segment switch if video is already ahead 2016-03-25 17:40:44 +01:00
dec_sub.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00
draw_bmp.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
img_convert.h
lavc_conv.c lavc_conv: fix Libav srt subtitles 2016-02-29 18:20:27 +01:00
osd_dummy.c osd: fix build with --disable-libass 2016-03-16 13:31:48 +01:00
osd_font.otf
osd_libass.c osd, lua: manage multiple ASS overlays set with set_osd_ass() calls 2016-03-08 22:00:02 +01:00
osd_state.h osd: cleanup: make OSDTYPE_ constants private to OSD code 2016-03-08 22:01:57 +01:00
osd.c vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
osd.h vo_opengl, osd: allow osc.lua to react faster on resizes 2016-03-21 22:23:41 +01:00
sd_ass.c osd: refactor how mp_ass_render_frame() is called 2016-03-08 21:59:55 +01:00
sd_lavc.c sd_lavc: use decoder-reordered PTS for PGS 2016-04-02 17:41:12 +02:00
sd.h sub: make preloading more robust 2016-03-06 15:17:59 +01:00