• Max Kellermann's avatar
    DetachedSong: compare start_time and end_time in IsSame() · e847ddf0
    Max Kellermann authored
    This method is used by DecoderControl::IsCurrentSong(), which is used
    by the player thread to check whether the current decoder instance can
    be reused to seek.  When switching to another song in the same CUE
    sheet, previously DetachedSong::IsSame() returned true, and thus the
    old decoder instance was used for the new song, not considering the
    new end_time.  This led to the old decoder quickly quitting.
    e847ddf0
Name
Last commit
Last update
android Loading commit data...
doc Loading commit data...
m4 Loading commit data...
python/build Loading commit data...
scripts Loading commit data...
src Loading commit data...
systemd Loading commit data...
test Loading commit data...
win32 Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.md Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mpd.svg Loading commit data...
valgrind.suppressions Loading commit data...