FS-10890: [mod_av] Wrongly calculated delta_tmp for end of video file recording #resolve

This commit is contained in:
Anthony Minessale 2017-12-06 23:20:39 -06:00 committed by Muteesa Fred
parent 683f59f38d
commit 8fabf32f8f
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ static void *SWITCH_THREAD_FUNC video_thread_run(switch_thread_t *thread, void *
uint64_t delta_tmp;
switch_core_timer_sync(context->eh.video_timer);
delta_tmp = context->eh.video_timer->samplecount - context->eh.last_ts;
delta_tmp = (context->eh.video_timer->samplecount * 90) - context->eh.last_ts;
if (delta_tmp != 0) {
delta_sum += delta_tmp;