Commit graph

4 commits

Author SHA1 Message Date
Andreas Öman
cb1624b995 Add pktref_create() helper 2010-06-16 21:07:13 +00:00
Andreas Öman
3c0e1141ff * Make error detection in timestamp parsing much stronger.
* Avoid extracting persistent data (such as video width*height) from 
  received data if we suspect that an error has occured (MPEG-TS TEI or
  continuity counter errors).

* Add src/plumbing/tsfix.[ch]: Streaming code that fixes up missing
  timestamps and normalize timecode to start at 0.

* Move PTS estimation code and timestamp normalization out from central
  parse code. Subscribers that really needs it should use tsfix plumbing
  instead.

* Let DVR code use tsfix plumbing.

* Don't send "pts" and "dts" over HTSP if timestamps are missing.
2010-06-15 14:53:39 +00:00
Andreas Öman
f5254a66fa Splice "global data" (sequence headers for MPEG2 and SPS/PPS for h264) into
packet buffers of its own.

Make all subscribers merge it back for now. We will need this for correctly
writing global headers in MKV files. 

Ticket #61
2010-06-14 12:32:57 +00:00
Andreas Öman
42c8947724 Making tvheadend more standalone, #2 2009-03-25 17:46:54 +00:00
Renamed from packet.h (Browse further)