1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00
mpv/sub
wm4 498644afaf sub: call sub_reset() on seeks only
sub_reset() was called on cycling subtitle tracks and on seeking. Since
we don't want that subtitles disppear on cycling, sd_lavc.c didn't clear
its internal subtitle queue on reset, which meant that seeking with PGS
subtitles could leave the subtitle on screen (PGS subtitles usually
don't have a duration set).

Call it only on seeking, so we can also strictly clear the subtitle
queue in sd_lavc.

(This still can go very wrong if you disable a subtitle, seek, and
enable it again - for example, if used with libavformat that uses "SSA"
style demuxed ASS subtitle packets. That shouldn't happen with newer
libavformat versions, and the user can "correct" it anyway by executing
a seek while the subtitle is selected.)
2014-08-14 23:53:53 +02:00
..
ass_mp.c ass: remove some pointless ifdeffery 2014-07-22 20:49:01 +02:00
ass_mp.h sub: fix undefined behavior in ASS color calculation 2014-05-10 10:44:16 +02:00
dec_sub.c sub: prefer ffmpeg microdvd converter over internal one 2014-06-15 21:10:38 +02:00
dec_sub.h sub: uglify sub decoder with locking 2014-01-17 23:21:17 +01:00
draw_bmp.c video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
draw_bmp.h Rename sub.c/.h to osd.c/.h 2013-11-24 14:44:58 +01:00
find_subfiles.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
find_subfiles.h vo: dropping subtitle files on the VO window adds them as subtitle files 2014-01-04 01:27:29 +01:00
img_convert.c video: introduce failure path for image allocations 2014-06-17 22:43:43 +02:00
img_convert.h
osd_dummy.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
osd_font.otf osd: Center the volume icon in the osd font 2014-06-10 02:16:46 +02:00
osd_libass.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
osd_state.h video/out: change aspects of OSD handling 2014-06-15 20:53:15 +02:00
osd.c Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
osd.h Revert "Remove DVD and Bluray support" 2014-07-15 01:49:02 +02:00
sd_ass.c sub: remove old style override option 2014-06-05 01:10:48 +02:00
sd_lavc_conv.c Remove some more unneeded version checks 2014-03-16 13:19:28 +01:00
sd_lavc.c sub: call sub_reset() on seeks only 2014-08-14 23:53:53 +02:00
sd_lavf_srt.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
sd_microdvd.c Audit and replace all ctype.h uses 2014-07-01 23:11:08 +02:00
sd_movtext.c
sd_srt.c build: include <strings.h> for strcasecmp() 2014-07-10 08:29:32 +02:00
sd.h demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00