mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
ext/vorbis/vorbisenc.c: Fix discontinuity detection which was broken by last commit.
Original commit message from CVS: * ext/vorbis/vorbisenc.c: (gst_vorbis_enc_buffer_check_discontinuous): Fix discontinuity detection which was broken by last commit.
This commit is contained in:
parent
36427ba880
commit
0d43cf2474
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
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::
|
||||
|
|
|
@ -1062,7 +1062,7 @@ gst_vorbis_enc_buffer_check_discontinuous (GstVorbisEnc * vorbisenc,
|
|||
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue