1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 00:42:57 +00:00
mpv/sub
wm4 a55e8ff31c dec_sub: avoid full reinit on switches to the same segment
The previous commit means subtitles were reinitialized on every seek
(even within a segment). This commit restores the old behavior.

To check whether the segment changed at all, we don't reset the current
start/end values. This assumes the decoder wrapper is always fed by a
stream which doesn't mix segment and non-segment packets, which is
currently always true.
2016-11-09 16:44:06 +01:00
..
ass_mp.c sub: change how libass output is converted to RGBA in some cases 2016-07-03 19:32:31 +02:00
ass_mp.h sub: pack libass bitmaps directly in sd_ass.c and osd_libass.c 2016-06-30 21:38:50 +02:00
dec_sub.c dec_sub: avoid full reinit on switches to the same segment 2016-11-09 16:44:06 +01:00
dec_sub.h sub: Add SD_CTRL_UPDATE_SPEED 2016-09-13 09:23:19 +02:00
draw_bmp.c mp_image: split colorimetry metadata into its own struct 2016-07-03 19:42:52 +02:00
draw_bmp.h
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 sub: interpret "text" subtitles as srt 2016-04-06 12:36:13 +02:00
osd_dummy.c sub: pass preferred OSD format to subtitle renderers 2016-07-03 19:31:56 +02:00
osd_font.otf
osd_libass.c osd: fix OSD redrawing after removing external overlays 2016-09-20 15:44:06 +02:00
osd_state.h player: show subtitles on VO if --force-window is used 2016-10-26 20:44:05 +02:00
osd.c player: show subtitles on VO if --force-window is used 2016-10-26 20:44:05 +02:00
osd.h player: show subtitles on VO if --force-window is used 2016-10-26 20:44:05 +02:00
sd_ass.c options: rename subtitle options 2016-10-03 16:57:04 +02:00
sd_lavc.c sd_lavc: enable teletext 2016-09-03 17:12:53 +02:00
sd.h sub: don't potentially discard too many subtitles on seek 2016-08-14 20:27:37 +02:00