Files
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
..
2014-07-22 20:49:01 +02:00
2014-01-17 23:21:17 +01:00
2013-11-24 14:44:58 +01:00
2014-07-15 01:49:02 +02:00
2014-07-15 01:49:02 +02:00
2014-06-05 01:10:48 +02:00
2014-08-14 23:53:53 +02:00