tsfix: fix pts/dts for all streams (including teletext)

This commit is contained in:
Jaroslav Kysela 2014-10-23 15:22:56 +02:00
parent 4ad249ec01
commit 6106b71a6e

View file

@ -154,7 +154,7 @@ normalize_ts(tsfix_t *tf, tfstream_t *tfs, th_pkt_t *pkt)
int checkts = SCT_ISAUDIO(tfs->tfs_type) || SCT_ISVIDEO(tfs->tfs_type);
if (checkts || SCT_ISSUBTITLE(tfs->tfs_type)) {
if (1 /* all streams */) {
if(tf->tf_tsref == PTS_UNSET) {
pkt_ref_dec(pkt);
return;