]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tsfix: increase possible DVBSUB diff by one second (as seen on UK HD mux)
authorJaroslav Kysela <perex@perex.cz>
Sun, 1 Nov 2015 17:06:42 +0000 (18:06 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sun, 1 Nov 2015 17:06:42 +0000 (18:06 +0100)
src/plumbing/tsfix.c

index f4d5d1dca59c811fe5148f611fe579ff4b68decb..5d53900cb331f89e6fad02fc9254c22569c91444 100644 (file)
@@ -460,7 +460,7 @@ tsfix_input_packet(tsfix_t *tf, streaming_message_t *sm)
       LIST_FOREACH(tfs2, &tf->tf_streams, tfs_link)
         if(tfs2->tfs_audio && tfs2->tfs_last_dts_in != PTS_UNSET) {
           diff = tsfix_ts_diff(tfs2->tfs_last_dts_in, pkt->pkt_dts);
-          if (diff > 2 * 90000) {
+          if (diff > 3 * 90000) {
             tvhwarn("parser", "The timediff for DVBSUB is big (%"PRId64"), using audio dts", diff);
             tfs->tfs_parent = tfs2;
             tfs->tfs_local_ref = tfs2->tfs_local_ref;