diff options
author | jrodatus <jrodatus@gmail.com> | 2017-06-17 10:18:57 -0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-18 20:54:45 +0200 |
commit | ab19b3c9d31c5bcff41bab9bf9c39c022e8edf9e (patch) | |
tree | ddb0384ee8dd0f0b4aecfb2c783823f026994f2c /Copyright | |
parent | 2ba2062e5b0b53d2b14fc81c377d0b0b3d6f4a99 (diff) |
player: seek backward for type MPSEEK_FACTOR
Choosing the seek direction for MPSEEK_FACTOR based on the location of
seek_pts is nonsense, and can cause the seek position to oscillate
between adjacent keyframes, such as when dragging the OSC bar on short
videos.
Fix this by always seeking backward for type MPSEEK_FACTOR, i.e. seek
to the keyframe for the group of pictures (GOP) in which seek_pts is
located.
Fixes #4183.
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'Copyright')
0 files changed, 0 insertions, 0 deletions