0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +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:
reimar 2008-01-26 22:25:47 +00:00
parent a3bb9882b7
commit 0e75f48aca

View File

@ -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