gst-libs/gst/cdda/gstcddabasesrc.c: Fix it so that it (a) makes sense and (b) doesn't break everything cdda-related i...

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix it so that it (a) makes sense and (b) doesn't break
everything cdda-related including the unit test.
This commit is contained in:
Tim-Philipp Müller 2007-05-04 09:06:38 +00:00
parent 57301524fb
commit 4f0e7a9ef9
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix it so that it (a) makes sense and (b) doesn't break
everything cdda-related including the unit test.
2007-05-04 Stefan Kost <ensonic@users.sf.net>
* gst-libs/gst/cdda/gstcddabasesrc.c:

View file

@ -1025,7 +1025,7 @@ gst_cdda_base_src_add_track (GstCddaBaseSrc * src, GstCddaBaseSrcTrack * track)
if (src->num_tracks > 0) {
guint end_of_previous_track = src->tracks[src->num_tracks - 1].end;
if (track->start >= end_of_previous_track) {
if (track->start < end_of_previous_track) {
GST_WARNING ("track %2u overlaps with previous tracks", track->num);
return FALSE;
}