mpv/player
wm4 b82a98722a 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().
2014-12-01 21:05:53 +01:00
..
lua lua: remove redundant call 2014-11-24 16:47:13 +01:00
timeline player: always use demux_chapter 2014-11-02 17:29:41 +01:00
audio.c audio: alternative fix for previous commit 2014-11-28 15:51:03 +01:00
client.c client API: make sure youtube-dl is not used by default 2014-11-25 17:27:19 +01:00
client.h input, lua: redo input handling 2014-11-23 15:13:35 +01:00
command.c command: sub_add with "auto" should not always select a subtitle track 2014-12-01 21:05:49 +01:00
command.h command: add window-minimized property (X11 only) 2014-11-02 20:55:07 +01:00
configfiles.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00
core.h command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
discnav.c sd_lavc: strictly letter-box PGS subtitles 2014-10-21 11:37:32 +02:00
loadfile.c player: simplify and fix ordered chapter EOF handling 2014-12-01 21:05:53 +01:00
lua.c lua, ipc: remove leftovers 2014-11-24 10:33:55 +01:00
main.c player: improve exit message in some scenarios 2014-10-31 00:51:52 +01:00
main_fn.c cocoa: fix build by using the correct HAVE_* macro 2014-08-06 09:31:59 +02:00
misc.c player: don't display zero duration for files with unknown duration 2014-10-29 21:54:59 +01:00
osd.c command: improve A-B loop behavior 2014-11-18 20:28:54 +01:00
playloop.c player: simplify and fix ordered chapter EOF handling 2014-12-01 21:05:53 +01:00
screenshot.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
screenshot.h
scripting.c player: integrate ytdl_hook.lua 2014-11-19 18:59:38 +01:00
sub.c player: don't crash when using sub_seek without subtitles 2014-11-23 15:13:35 +01:00
video.c Remove some superfluous NULL checks 2014-11-21 05:18:09 +01:00