Fix CD cue file Index positions -- #7780
According to the cdrdao man page, they should be defined as follows: INDEX MM:SS:FF Increments the index number at given position within the track. The first statement will increment from 1 to 2. The position is relative to the real track start, not counting an existing pre-gap.
This commit is contained in:
parent
4e87751ab8
commit
71d4dd821c
@ -838,7 +838,7 @@ ExportHandler::write_index_info_toc (CDMarkerStatus & status)
|
||||
{
|
||||
gchar buf[18];
|
||||
|
||||
samples_to_cd_frame_string (buf, status.index_position - status.track_position);
|
||||
samples_to_cd_frame_string (buf, status.index_position - status.track_start_sample);
|
||||
status.out << "INDEX" << buf << endl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user