From b806cc1f4fd7faf2d56189b79c99a0de2cae41e3 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sun, 1 Nov 2015 18:06:42 +0100 Subject: [PATCH] tsfix: increase possible DVBSUB diff by one second (as seen on UK HD mux) --- 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 f4d5d1dca..5d53900cb 100644 --- a/src/plumbing/tsfix.c +++ b/src/plumbing/tsfix.c @@ -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; -- 2.47.3