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.
This commit is contained in:
parent
8b4f6dd43b
commit
848a7f2868
@ -88,9 +88,9 @@ enum
|
|||||||
/* FIXME, enable pull mode when clock slaving and trick modes are figured out */
|
/* FIXME, enable pull mode when clock slaving and trick modes are figured out */
|
||||||
#define DEFAULT_CAN_ACTIVATE_PULL FALSE
|
#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 */
|
* a reasonable default */
|
||||||
#define DEFAULT_DRIFT_TOLERANCE ((20 * GST_MSECOND) / GST_USECOND)
|
#define DEFAULT_DRIFT_TOLERANCE ((40 * GST_MSECOND) / GST_USECOND)
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user