]> git.sesse.net Git - vlc/commit
* Support for Topfield .rec recordings. It's MPEG-TS with an exceptionally large...
authorDerk-Jan Hartman <hartman@videolan.org>
Sat, 15 Apr 2006 00:07:09 +0000 (00:07 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Sat, 15 Apr 2006 00:07:09 +0000 (00:07 +0000)
commitc7ad2a4057ce28215c7dd1195141302ac52410f9
treebb042a4e6a131548ad588417c8774fb972ef8708
parent9f83ce760a5c6b5788e8350a9a56461d0b4a91ae
* Support for Topfield .rec recordings. It's MPEG-TS with an exceptionally large (1MB) header in front of it.
  I tried adding the info in the header to meta, but the existing documention seems incorrect or at least incomplete. Instead we just accept the start of the header as identifying a MPEG-TS file, and skipping the header.

  BTW this header is again an example of very bad format design. It is using fixed length strings, for which the used buffers clearly are not null'ed before written with new information. As such i was able to determine which programs were running before this program was recorded :D
  Also a PID printed to a field was clearly not printed to null'ed memory, causing an invalid (too high) PID number to be in the field. You'd think the least someone could do when designing something like this, would be to analyze a hexdump of your own custom header.
modules/demux/ts.c