提交 def6cb7c authored 作者: Anthony Minessale's avatar Anthony Minessale 提交者: Mike Jerris

FS-10892: [mod_av] Lip Sync Improvements -- increase delta #resolve

上级 55ddbc41
......@@ -1919,7 +1919,7 @@ GCC_DIAG_ON(deprecated-declarations)
delta = context->video_timer.samplecount - context->last_vid_write;
if (context->audio_timer || delta >= 60) {
if (context->audio_timer || delta >= 200) {
uint32_t new_pts = context->video_timer.samplecount * (handle->samplerate / 1000);
if (!context->audio_timer) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Delta of %d detected. Video timer sync: %" SWITCH_UINT64_T_FMT "/%d %" SWITCH_UINT64_T_FMT "\n", delta, context->audio_st[0].next_pts, context->video_timer.samplecount, new_pts - context->audio_st[0].next_pts);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论