summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-11-28 22:07:46 +0100
committerwm4 <wm4@nowhere>2014-11-28 22:07:46 +0100
commit70630fb803fde5ddcf9f3bd33ab8d682274d1ee7 (patch)
treecfa882996cc867356df1ac0ccda4d72733a4e707 /video
parent9a3333e76562b652d9b7f67015a0ca604d7180eb (diff)
downloadmpv-70630fb803fde5ddcf9f3bd33ab8d682274d1ee7.tar.bz2
mpv-70630fb803fde5ddcf9f3bd33ab8d682274d1ee7.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 'video')
0 files changed, 0 insertions, 0 deletions