PlaylistControl: use SeekSongOrder(current) to keep current song
The "current" attribute is a "song order", not a "song position". This is usually the same - except in random mode. Fixes Mantis ticket 0004073.
This commit is contained in:
parent
704be54c3a
commit
a26ead035a
2
NEWS
2
NEWS
|
@ -1,4 +1,6 @@
|
||||||
ver 0.18.13 (not yet released)
|
ver 0.18.13 (not yet released)
|
||||||
|
* protocol
|
||||||
|
- don't change song on "seekcur" in random mode
|
||||||
* decoder
|
* decoder
|
||||||
- dsdiff, dsf: fix endless loop on malformed file
|
- dsdiff, dsf: fix endless loop on malformed file
|
||||||
- ffmpeg: support ffmpeg/libav version 11
|
- ffmpeg: support ffmpeg/libav version 11
|
||||||
|
|
|
@ -265,5 +265,5 @@ playlist::SeekCurrent(PlayerControl &pc, float seek_time, bool relative)
|
||||||
if (seek_time < 0)
|
if (seek_time < 0)
|
||||||
seek_time = 0;
|
seek_time = 0;
|
||||||
|
|
||||||
return SeekSongPosition(pc, current, seek_time);
|
return SeekSongOrder(pc, current, seek_time);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue