1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-01 01:15:31 +00:00

Tighten audio skew allowance

This commit is contained in:
Chris Robinson 2012-12-14 03:19:32 -08:00
parent 8db5d10f10
commit 4d6c05f6cc

View file

@ -733,7 +733,7 @@ int VideoState::stream_open(int stream_index, AVFormatContext *pFormatCtx)
this->audio_diff_avg_coef = exp(log(0.01 / AUDIO_DIFF_AVG_NB));
this->audio_diff_avg_count = 0;
/* Correct audio only if larger error than this */
this->audio_diff_threshold = 2.0 * 0.1/* 100 ms */;
this->audio_diff_threshold = 2.0 * 0.025/* 25 ms */;
memset(&this->audio_pkt, 0, sizeof(this->audio_pkt));