Files
Velix-MPV-Core/player
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-08-14 19:30:35 +02:00
2014-08-06 20:30:46 +02:00
2014-08-14 19:40:43 +02:00
2014-07-16 23:25:56 +02:00
2014-08-14 23:53:53 +02:00
2014-08-13 21:50:01 +02:00
2014-08-14 23:53:53 +02:00