mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 15:41:13 -04:00
Tighten audio skew allowance
This commit is contained in:
parent
8db5d10f10
commit
4d6c05f6cc
@ -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_coef = exp(log(0.01 / AUDIO_DIFF_AVG_NB));
|
||||||
this->audio_diff_avg_count = 0;
|
this->audio_diff_avg_count = 0;
|
||||||
/* Correct audio only if larger error than this */
|
/* 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));
|
memset(&this->audio_pkt, 0, sizeof(this->audio_pkt));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user