diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-04-25 23:20:34 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-04-25 23:29:46 +0300 |
commit | d2e25a90c40c47b97becaa6eaefa16e61f7f0cdf (patch) | |
tree | 162222a56f82b8d264744725e81f4adf898778c0 /libmpdemux/demux_rawdv.c | |
parent | 823b989f0f6e981b1ee61543573c391ca475dd18 (diff) | |
download | mpv-d2e25a90c40c47b97becaa6eaefa16e61f7f0cdf.tar.bz2 mpv-d2e25a90c40c47b97becaa6eaefa16e61f7f0cdf.tar.xz |
core: track current chapter for relative chapter seeks
Due to inexact seeks, chapter seek commands may result in a playback
position that's inside the previous chapter. This causes problems when
the user does repeated next-chapter/previous-chapter seeks, because
the code will use the wrong base for calculating 'next' or
'previous'. Improve the behavior by adding a heuristic that keeps
track of what chapter the user last wanted to seek to and adjusts the
"current chapter" value based on that.
Diffstat (limited to 'libmpdemux/demux_rawdv.c')
0 files changed, 0 insertions, 0 deletions