GNOME Bugzilla – Bug 307459
Can not rip the last track of CDs
Last modified: 2005-06-13 10:02:27 UTC
Please describe the problem: When ripping a CD, everything goes fine until it hits the last track, at which point it pops up a dialog saying: Sound Juicer could not extract this CD. Reason: Could not seek to track Steps to reproduce: 1. insert a CD 2. deselect all tracks except for the last (this is just to trigger the error quicker) 3. click extract Actual results: error message is displayed Expected results: the track should be ripped successfully Does this happen every time? yes Other information: My test system is an AMD64, and this is with the gnome-2.12 jhbuild moduleset, built today.
Created attachment 47701 [details] [review] gst-plugins-cdparanoia.patch Adjust the error check so that we can rip the last track. If the disc has 10 tracks, and we seek to the last track, then we'll have track=9 and endtrack=10. The existing bounds check was 0 <= endtrack < ntracks, which treated this as an error.
applied.