]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tsfix: increase possible audio to video drift to 3 seconds, fixes #5053
authorJaroslav Kysela <perex@perex.cz>
Mon, 2 Apr 2018 19:28:24 +0000 (21:28 +0200)
committerJaroslav Kysela <perex@perex.cz>
Mon, 2 Apr 2018 19:28:24 +0000 (21:28 +0200)
src/plumbing/tsfix.c

index 58ed54eafcf2ac3d5ba60593709f8404487c888b..c75df6362e1eb54acf662a4e5f2b60034f1e6feb 100644 (file)
@@ -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;