[prev in list] [next in list] [prev in thread] [next in thread]
List: gstreamer-cvs
Subject: [gst-cvs] gst-plugins-base: baseaudiosink: trivial cleanups
From: felipec () kemper ! freedesktop ! org (Felipe Contreras)
Date: 2011-01-30 13:43:06
Message-ID: 20110130134306.DA2F210050 () kemper ! freedesktop ! org
[Download RAW message or body]
Module: gst-plugins-base
Branch: master
Commit: 21d1e2ded026c814f4b7bc9330d99abfc2ae9bc7
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=21d1e2ded026c814f4b7bc9330d99abfc2ae9bc7
Author: Felipe Contreras <felipe.contreras@nokia.com>
Date: Sun Jan 30 15:40:53 2011 +0200
baseaudiosink: trivial cleanups
It seems these stuff was neglected from commmit d8942e2.
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
---
gst-libs/gst/audio/gstbaseaudiosink.c | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diff --git a/gst-libs/gst/audio/gstbaseaudiosink.c \
b/gst-libs/gst/audio/gstbaseaudiosink.c index 54ba775..b5c87b9 100644
--- a/gst-libs/gst/audio/gstbaseaudiosink.c
+++ b/gst-libs/gst/audio/gstbaseaudiosink.c
@@ -71,15 +71,6 @@ enum
LAST_SIGNAL
};
-/* we tollerate half a second diff before we start resyncing. This
- * should be enough to compensate for various rounding errors in the timestamp
- * and sample offset position.
- * This is an emergency resync fallback since buffers marked as DISCONT will
- * always lock to the correct timestamp immediatly and buffers not marked as
- * DISCONT are contiguous by definition.
- */
-#define DIFF_TOLERANCE 2
-
/* FIXME: 0.11, store the buffer_time and latency_time in nanoseconds */
#define DEFAULT_BUFFER_TIME ((200 * GST_MSECOND) / GST_USECOND)
#define DEFAULT_LATENCY_TIME ((10 * GST_MSECOND) / GST_USECOND)
@@ -89,7 +80,7 @@ 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 20ms we resync. This is
+/* when timestamps or clock slaving drift for more than 40ms we resync. This is
* a reasonable default */
#define DEFAULT_DRIFT_TOLERANCE ((40 * GST_MSECOND) / GST_USECOND)
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
gstreamer-cvs mailing list
gstreamer-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-cvs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic