Original commit message from CVS:
* ext/vorbis/vorbisenc.c:
(gst_vorbis_enc_buffer_check_discontinuous):
Fix discontinuity detection which was broken by last commit.
+2008-10-10 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
+ * ext/vorbis/vorbisenc.c:
+ (gst_vorbis_enc_buffer_check_discontinuous):
+ Fix discontinuity detection which was broken by last commit.
+
2008-10-09 Tim-Philipp Müller <tim.muller at collabora co uk>
* configure.ac::
if (timestamp != GST_CLOCK_TIME_NONE &&
vorbisenc->expected_ts != GST_CLOCK_TIME_NONE &&
- duration != vorbisenc->expected_ts) {
+ timestamp + duration != vorbisenc->expected_ts) {
/* It turns out that a lot of elements don't generate perfect streams due
* to rounding errors. So, we permit small errors (< 1/2 a sample) without
* causing a discont.