Commit graph

9 commits

Author SHA1 Message Date
Andreas Öman
b7cc8e2961 Add some helpers 2010-10-26 19:08:38 +00:00
Andreas Öman
ec7978e6b2 Write aspect ratio in recorded MKV files 2010-09-01 16:28:13 +00:00
Andreas Öman
ba33824bdd Add a level of indirection between a packet and its payload.
This allows the code to modify packets (which are non-mutable due to reference counting)
by copying them without having to also copy the packet payload.
2010-06-24 11:29:22 +00:00
Andreas Öman
315d75a2aa constify 2010-06-23 20:27:19 +00:00
Andreas Öman
93affec3ea Keep track of sample rate and channel configuration in each packet 2010-06-17 08:24:36 +00:00
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 
2010-06-14 12:32:57 +00:00
Andreas Öman
42c8947724 Making tvheadend more standalone, 2009-03-25 17:46:54 +00:00
Renamed from packet.h (Browse further)