Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tsfix: remove mpeg2video recover pts - let's see what happens
  • Loading branch information
perexg committed Aug 26, 2016
1 parent edcd83b commit e666e0f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/plumbing/tsfix.c
Expand Up @@ -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);

Expand Down Expand Up @@ -407,6 +414,7 @@ recover_pts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
normalize_ts(tf, tfs, pkt, 1);
}
}
#endif


/**
Expand Down

0 comments on commit e666e0f

Please sign in to comment.