]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
tsfix: remove mpeg2video recover pts - let's see what happens
authorJaroslav Kysela <perex@perex.cz>
Fri, 26 Aug 2016 09:10:30 +0000 (11:10 +0200)
committerJaroslav Kysela <perex@perex.cz>
Fri, 26 Aug 2016 09:10:30 +0000 (11:10 +0200)
src/plumbing/tsfix.c

index cf1a465edef75008951caf5b007d2c4f4418b3c9..f1074ddab6733f99c60d367cd237038f90c1ea40 100644 (file)
@@ -343,11 +343,18 @@ tsfix_backlog_diff(tsfix_t *tf)
 /**
  *
  */
+#if 1
 static void
 recover_pts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
 {
-  th_pktref_t *srch;
-  int total;
+  normalize_ts(tf, tfs, pkt, 1);
+}
+#else
+static void
+recover_pts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
+{
+  //th_pktref_t *srch;
+  //int total;
 
   pktref_enqueue(&tf->tf_ptsq, pkt);
 
@@ -407,6 +414,7 @@ recover_pts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
     normalize_ts(tf, tfs, pkt, 1);
   }
 }
+#endif
 
 
 /**