Bug #2178
pvr.tvh and teletext
Status:
Fixed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-07-15
Due date:
% Done:
0%
Estimated time:
Found in version:
3.9.1070~g39b6bc1
Affected Versions:
Description
I've been debugging a missing teletext stream and I think I've now found the problem. pvr.tvh uses "normts" for PTS/DTS normalisation and the backend implementation creates a problem if the teletext stream uses a different time base (which apparently is not uncommon). The code below, from normalize_ts() in tsfix.c, is what's been dropping my teletext packets.
if(tfs->tfs_last_dts_norm == PTS_UNSET) { if(dts < 0) { /* Early packet with negative time stamp, drop those */ pkt_ref_dec(pkt); return; } }
History
Updated by John Smith over 10 years ago
Attempted fix now in PR:
https://github.com/tvheadend/tvheadend/pull/437
Updated by John Smith over 10 years ago
PR modified to include subtitle type streams in normalization.
Updated by Mark Clarkstone over 10 years ago
- Status changed from New to Fixed
Fixed in commit:92b1a087