mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
100l, inverted condition for AVSEEK_FLAG_BACKWARD
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25871 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a3bb9882b7
commit
0e75f48aca
@ -613,6 +613,7 @@ static void demux_seek_lavf(demuxer_t *demuxer, float rel_seek_secs, float audio
|
||||
|
||||
if (flags & 1) { // absolute seek
|
||||
priv->last_pts = priv->avfc->start_time;
|
||||
} else {
|
||||
if (rel_seek_secs < 0) avsflags = AVSEEK_FLAG_BACKWARD;
|
||||
}
|
||||
if (flags & 2) { // percent seek
|
||||
|
Loading…
Reference in New Issue
Block a user