shaka-packager/packager/media
Haoming Chen 78f4fd9d3f Fix an issue in NalUnitToByteStreamConverter.
- This fixes the issue when one NAL unit has multiple
  subsamples, which is allowed in spec and could happen
  when the clear_bytes exceeds 2^16 bytes.
- The new algorithm updates the subsample entries in
  following steps:
  1) When NaluReader parses a new NAL unit, the
  function splits subsamples and align them with the
  NAL unit. It also finds the range of subsamples
  for that NAL unit.
  2) Drop or update subsamples of that NAL unit,
  based on the type. Other inserted bytes are treated
  as a new all-clear subsample.
  3) Merge those subsamples if possible.
- This addresses #237.

Change-Id: I2cab47cd00d90e29ec52b90d4fde057c632193ac
2017-06-19 20:19:11 +00:00
..
base Use free-form strings for stream labels (track types) 2017-06-13 15:04:00 -07:00
chunking Update EncryptionHandler to support key rotation and SampleAes 2017-03-21 23:50:53 +00:00
codecs Fix an issue in NalUnitToByteStreamConverter. 2017-06-19 20:19:11 +00:00
crypto Use free-form strings for stream labels (track types) 2017-06-13 15:04:00 -07:00
demuxer Report an error on encrypted stream without decryption 2017-06-07 21:49:46 +00:00
event Remove the trick_play_factor in media_info.proto. 2017-05-17 22:10:49 +00:00
file Add support for udp_file in Windows. (#185) 2017-01-10 10:05:28 -08:00
formats Moved Timestamp Parsing For Easier Testing 2017-06-16 18:26:16 +00:00
test Integrate packager top level library 2017-06-13 13:40:26 -07:00
trick_play Rename trick play rate to trick play factor. 2017-05-17 21:51:34 +00:00