Commit 0f75c796 authored by Will Tiffany's avatar Will Tiffany Committed by Max Kellermann

CueParser.cxx: ignore INDEX after first per track

Use the first INDEX in each TRACK section, instead of the last, for the start time. This preserves the original CD layout (including gaps between tracks), and avoids skipping sections of songs in more exotic cuesheets (eg musical suite tracks). Fixes 0004355 and 0003359
parent 9bcb01a7
......@@ -16,6 +16,7 @@ ver 0.20 (not yet released)
- ffmpeg: support stream tags
- mpcdec: read the bit rate
* playlist
- cue: don't skip pregap
- embcue: fix last track
* output
- jack: reduce CPU usage
......
......@@ -273,6 +273,7 @@ CueParser::Feed2(char *p)
}
current->SetStartTime(SongTime::FromMS(position_ms));
state = IGNORE_TRACK;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment