summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-19 21:40:44 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2009-12-20 23:19:41 +0000
commit848a7f2868cc43f748f48f2f9faebdce29b93d8d (patch)
tree4f0913419420ab910f86a50f1bbb0e6c3df82fef
parent8b4f6dd43bf13d286f11f532033ac46aec33b13b (diff)
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.
-rw-r--r--gst-libs/gst/audio/gstbaseaudiosink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c b/gst-libs/gst/audio/gstbaseaudiosink.c
index a58e1284b..fee7c95e3 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
{