From d9418857f3f38880d7461ddcd04bb72db803dc80 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 2 Apr 2018 21:28:24 +0200 Subject: [PATCH] tsfix: increase possible audio to video drift to 3 seconds, fixes #5053 --- src/plumbing/tsfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plumbing/tsfix.c b/src/plumbing/tsfix.c index 58ed54eaf..c75df6362 100644 --- a/src/plumbing/tsfix.c +++ b/src/plumbing/tsfix.c @@ -344,7 +344,7 @@ tsfix_update_ref(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt) if (tfs->tfs_audio) { diff = tsfix_ts_diff(tf->tf_tsref, pkt->pkt_dts); - if (diff > 2 * 90000) { + if (diff > 3 * 90000) { tvhwarn(LS_TSFIX, "The timediff for %s is big (%"PRId64"), using current dts", streaming_component_type2txt(tfs->tfs_type), diff); tfs->tfs_local_ref = pkt->pkt_dts; -- 2.47.3