From: Jaroslav Kysela Date: Fri, 26 Aug 2016 09:10:30 +0000 (+0200) Subject: tsfix: remove mpeg2video recover pts - let's see what happens X-Git-Tag: v4.2.1~348 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e666e0f273ede79a7520be352ac125830a898e55;p=thirdparty%2Ftvheadend.git tsfix: remove mpeg2video recover pts - let's see what happens --- diff --git a/src/plumbing/tsfix.c b/src/plumbing/tsfix.c index cf1a465ed..f1074ddab 100644 --- a/src/plumbing/tsfix.c +++ b/src/plumbing/tsfix.c @@ -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 /**