diff options
author | wm4 <wm4@nowhere> | 2014-03-25 02:27:22 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-03-25 02:27:22 +0100 |
commit | 6c2cd08afffa6d4fe5c16144b0c883f6997d0399 (patch) | |
tree | b009945e884b862e8e3f84d65b521b0bf54af626 /player/misc.c | |
parent | c19c777061531d4831f93ddc34490e6537448c19 (diff) | |
download | mpv-6c2cd08afffa6d4fe5c16144b0c883f6997d0399.tar.bz2 mpv-6c2cd08afffa6d4fe5c16144b0c883f6997d0399.tar.xz |
player: handle chapter range like --start/--end
Instead of comparing the current chapter every time, set the playback
end timestamp to the chapter end. Likewise, don't execute an extra seek
for the start chapter.
Maybe we could also use the timeline facility to restrict playback to
the given chapter range, but this would be strange when using
--chapter=N to start playback at a given chapter. Then you couldn't seek
back, which is possibly not what the user wants.
Diffstat (limited to 'player/misc.c')
0 files changed, 0 insertions, 0 deletions