]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Revert "Fix DTS INT64_MIN issue by checking for PTS_UNSET after pts_diff() call" master
authorFlole <Flole998@users.noreply.github.com>
Tue, 13 Jan 2026 19:16:16 +0000 (20:16 +0100)
committerFlole <Flole998@users.noreply.github.com>
Tue, 13 Jan 2026 23:09:11 +0000 (00:09 +0100)
This reverts commit 31905c71a54d72f0a49cbfdcc43f4a16e8dc4eae.

src/plumbing/tsfix.c

index d5db580d4329c9e2c537c53a39396a0f70477526..405178bbff3cac202eb60f68516adc9fe8e7bce9 100644 (file)
@@ -242,12 +242,6 @@ normalize_ts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt, int backlog)
   else
     dts = pts_diff(ref, pkt->pkt_dts);
 
-  /* Check for invalid DTS calculation result */
-  if (dts == PTS_UNSET) {
-    tsfix_packet_drop(tfs, pkt, "invalid dts calculation");
-    return;
-  }
-
   if (tfs->tfs_last_dts_norm == PTS_UNSET) {
     if (dts < 0 || pkt->pkt_err) {
       /* Early packet with negative time stamp, drop those */