summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-28 22:07:46 +0100
committerAlessandro Ghedini <alessandro@ghedini.me>2014-12-01 21:05:53 +0100
commitb82a98722a11f42eab834bdf28b69b86e74a2338 (patch)
tree9da60d6debccb04f52354cbe383b4986e2cc23e6 /options
parent3d6d7012ff0a815333ab1db2c8a791ac0180fad2 (diff)
downloadmpv-b82a98722a11f42eab834bdf28b69b86e74a2338.tar.bz2
mpv-b82a98722a11f42eab834bdf28b69b86e74a2338.tar.xz
player: simplify and fix ordered chapter EOF handling
Ordered chapter EOF was handled as special-case of ending the last segment. This broke --kee-open, because it set AT_END_OF_FILE in an "inconvenient" place (after checking for --keep-open, and before the code that exits playback if EOF is reached). We don't actually need to handle the last segment specially. Instead, we remain in the same segment if it ends. The normal playback logic will recognize EOF, because the end of the segment "cuts off" the file. Now timeline_set_from_time() never "fails", and we can remove the old segment EOF handling code in mp_seek().
Diffstat (limited to 'options')
0 files changed, 0 insertions, 0 deletions