mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
audiofx: fix comparison of delta time to a threshold
Coverity 206055
This commit is contained in:
parent
7ebfdbeaf8
commit
d2b682c271
1 changed files with 1 additions and 1 deletions
|
@ -831,7 +831,7 @@ gst_audio_fx_base_fir_filter_transform (GstBaseTransform * base,
|
|||
if (GST_BUFFER_IS_DISCONT (inbuf)
|
||||
|| (GST_CLOCK_TIME_IS_VALID (expected_timestamp)
|
||||
&& (ABS (GST_CLOCK_DIFF (timestamp,
|
||||
expected_timestamp) > 5 * GST_MSECOND)))) {
|
||||
expected_timestamp)) > 5 * GST_MSECOND))) {
|
||||
GST_DEBUG_OBJECT (self, "Discontinuity detected - flushing");
|
||||
if (GST_CLOCK_TIME_IS_VALID (expected_timestamp))
|
||||
gst_audio_fx_base_fir_filter_push_residue (self);
|
||||
|
|
Loading…
Reference in a new issue