From 6d0a4ac8d5d94f6162f90dd4bc7f9adbbac67423 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 9 Sep 2012 15:58:36 +0100 Subject: [PATCH] audiorate: default to tolerance = 40ms instead of 0 People expect audiorate to fix things up and not make things worse by default, so let's default to a similar tolerance as audiosinks do. Should help with transcoding and the like, though one might possible still want higher values then. --- gst/audiorate/gstaudiorate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audiorate/gstaudiorate.c b/gst/audiorate/gstaudiorate.c index 88a3d5f..76e4c79 100644 --- a/gst/audiorate/gstaudiorate.c +++ b/gst/audiorate/gstaudiorate.c @@ -77,7 +77,7 @@ enum }; #define DEFAULT_SILENT TRUE -#define DEFAULT_TOLERANCE 0 +#define DEFAULT_TOLERANCE (40 * GST_MSECOND) #define DEFAULT_SKIP_TO_FIRST FALSE enum -- 2.7.4