Commit graph

16 commits

Author SHA1 Message Date
Andreas Öman
828137904e Avoid SPS and PPS id array out of bounds in h264 parser
Fixes ticket #467
2011-05-18 11:43:24 +02:00
Andreas Öman
371ed5eeb5 Avoid assignment of write-only variables, silences gcc4.6 2011-05-04 13:45:56 +02:00
Andreas Öman
123a261f4b Rename th_stream -> elementary_stream 2010-11-29 20:13:54 +00:00
Andreas Öman
85132732b6 Rename transport -> service 2010-11-29 20:06:52 +00:00
Andreas Öman
42adea653d Rename tvhead.h -> tvheadend.h 2010-11-29 19:25:24 +00:00
Andreas Öman
dbe077c4a1 Boolean, not bitwise AND. Thanks mla! 2010-11-08 09:51:44 +00:00
Andreas Öman
0cd90a8610 Avoid division by zero if h264 width and/or height is 0. (Happens on corrupt data) 2010-11-07 22:43:24 +00:00
Andreas Öman
ab807498bb Compute correct aspect when interlaced 2010-10-19 18:02:54 +00:00
Andreas Öman
7b693ea90e Correctly compute display aspect ratio for h264
Fixes bug #307 and #280
2010-10-18 21:26:53 +00:00
Andreas Öman
ec7978e6b2 Write aspect ratio in recorded MKV files 2010-09-01 16:28:13 +00:00
Andreas Öman
9b8dd5dafa Set correct height for interlaced h264 2010-09-01 06:01:45 +00:00
Andreas Öman
6f85b14767 Refactor parsing buffer handling + better constification 2010-07-03 16:18:50 +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
5b56688ebe Extract h264 frame duration from bitstream instead of measuring intra packet time 2010-06-15 10:51:44 +00:00
Andreas Öman
c15d002917 Keep track of video width and height and send it over HTSP in subscriptionStart.
Fixed ticket #208
2010-06-13 12:18:59 +00:00
Andreas Öman
42c8947724 Making tvheadend more standalone, #2 2009-03-25 17:46:54 +00:00
Renamed from parser_h264.c (Browse further)