]> granicus.if.org Git - handbrake/commit
- To reliably find audio in 720p or 1080i TS streams we need to search through first...
authorvan <vanj.hb@gmail.com>
Mon, 18 Aug 2008 06:15:17 +0000 (06:15 +0000)
committervan <vanj.hb@gmail.com>
Mon, 18 Aug 2008 06:15:17 +0000 (06:15 +0000)
commit37e3888441e68c1eb77faa9f82a9e6f27f9a64f8
tree35c4e9166230827dfa284952d4039ce07a5f09b0
parentfb73802e00132d407e9f00dd1a3a9535e651cdc6
 - To reliably find audio in 720p or 1080i TS streams we need to search through first 50MB of file looking for the stream rather than first 18MB.
 - When we're looking for a PES header for some PID, check both that the TS 'start' bit is set and that the first 3 data bytes are an MPEG start code (the start bit may get set by an error not caught by the CRC).
 - Print the substream id when we reject a PID as "not audio" so we'll be able to debug TS streams using non-standard PES encapsulations.

git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1642 b64f7644-9d1e-0410-96f1-a4d463321fa5
libhb/stream.c