Commit 57301524 authored by Stefan Kost's avatar Stefan Kost
Browse files

gst-libs/gst/cdda/gstcddabasesrc.c: Fix build when disabling asserts.

Original commit message from CVS:
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix build when disabling asserts.
parent cb73a6e7
2007-05-04 Stefan Kost <ensonic@users.sf.net>
* gst-libs/gst/cdda/gstcddabasesrc.c:
(gst_cdda_base_src_add_track):
Fix build when disabling asserts.
2007-05-03 Tim-Philipp Müller <tim at centricular dot net>
 
* sys/ximage/ximagesink.c: (gst_ximagesink_ximage_new):
......@@ -1025,7 +1025,10 @@ 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;
g_return_val_if_fail (track->start >= end_of_previous_track, FALSE);
if (track->start >= end_of_previous_track) {
GST_WARNING ("track %2u overlaps with previous tracks", track->num);
return FALSE;
}
}
GST_OBJECT_LOCK (src);
......
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