[gst-cvs] gst-plugins-base: baseaudiosink: increase default drift tolerance to fix glitches with WMA
Tim Mueller
tpm at kemper.freedesktop.org
Sun Dec 20 15:21:32 PST 2009
Module: gst-plugins-base
Branch: master
Commit: 848a7f2868cc43f748f48f2f9faebdce29b93d8d
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=848a7f2868cc43f748f48f2f9faebdce29b93d8d
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Sat Dec 19 21:40:44 2009 +0000
baseaudiosink: increase default drift tolerance to fix glitches with WMA
Increase default drift tolerance to 40ms to avoid glitches with decoders
or formats where there's a lot of timestamp jitter for some reason or
another (in this case: asf/wma), at least until we implement timestamp
smoothing.
---
gst-libs/gst/audio/gstbaseaudiosink.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c b/gst-libs/gst/audio/gstbaseaudiosink.c
index a58e128..fee7c95 100644
--- a/gst-libs/gst/audio/gstbaseaudiosink.c
+++ b/gst-libs/gst/audio/gstbaseaudiosink.c
@@ -88,9 +88,9 @@ enum
/* FIXME, enable pull mode when clock slaving and trick modes are figured out */
#define DEFAULT_CAN_ACTIVATE_PULL FALSE
-/* when timestamps or clock slaving drift for more than 10ms we resync. This is
+/* when timestamps or clock slaving drift for more than 20ms we resync. This is
* a reasonable default */
-#define DEFAULT_DRIFT_TOLERANCE ((20 * GST_MSECOND) / GST_USECOND)
+#define DEFAULT_DRIFT_TOLERANCE ((40 * GST_MSECOND) / GST_USECOND)
enum
{
More information about the Gstreamer-commits
mailing list