shaka-packager/packager/media/formats/mp2t
KongQun Yang 3f7ecd4e29 Workaround extra AUD in the access unit
VLC seems to generate access units with extra AUDs. In #526, the below
sequence is seen:

  AUD | SPS | PPS | SPS | PPS | AUD | SEI | SEI | SEI | IDR_SLICE

Previously we exit early when seeing AUD, which results in delayed
processing of the access unit.

The behavior is changed to continue processing the following NAL units
to workaround the content issue.

Closes #526.

Change-Id: I80f571c0711c6db1337eb393fce36fae5432b6c5
2018-12-15 00:32:06 +00:00
..
ac3_header.cc Fix mpeg-ts demuxing with AC-3/E-AC-3 2018-11-20 22:33:40 +00:00
ac3_header.h Fix a parsing problem with AC3 in TS 2017-11-07 18:47:09 -08:00
ac3_header_unittest.cc Fix mpeg-ts demuxing with AC-3/E-AC-3 2018-11-20 22:33:40 +00:00
adts_header.cc Fix a parsing problem with AC3 in TS 2017-11-07 18:47:09 -08:00
adts_header.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
adts_header_unittest.cc Refactor EsParserAdts to handle other audio 2017-10-25 23:21:35 +00:00
audio_header.h Fix a parsing problem with AC3 in TS 2017-11-07 18:47:09 -08:00
continuity_counter.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
continuity_counter.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
es_parser.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_audio.cc Fix a parsing problem with AC3 in TS 2017-11-07 18:47:09 -08:00
es_parser_audio.h Add AC3 support in TS 2017-10-30 15:11:43 -07:00
es_parser_h26x.cc Workaround extra AUD in the access unit 2018-12-15 00:32:06 +00:00
es_parser_h26x.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_h26x_unittest.cc Workaround extra AUD in the access unit 2018-12-15 00:32:06 +00:00
es_parser_h264.cc Fix avc3 codec string problem 2017-04-28 19:24:11 +00:00
es_parser_h264.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
es_parser_h264_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
es_parser_h265.cc Allow generating avc3 / hev1 from TS and Wvm files 2017-03-23 13:53:14 -07:00
es_parser_h265.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t.gyp Address gcc build failures in some platforms 2017-12-07 11:45:26 -08:00
mp2t_common.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t_media_parser.cc Log an error when seeing unsupported stream type in MPEG2TS 2017-12-01 14:56:22 -08:00
mp2t_media_parser.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
mp2t_media_parser_unittest.cc Replace scoped_refptr with std::shared_ptr 2017-01-26 02:20:47 +00:00
pes_packet.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
pes_packet.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
pes_packet_generator.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
pes_packet_generator.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
pes_packet_generator_unittest.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
program_map_table_writer.cc Move TS encrypted audio setup for HLS to hls_audio_util 2018-05-16 01:04:14 +00:00
program_map_table_writer.h Refactor ProgramMapTableWriter 2017-10-25 20:25:56 +00:00
program_map_table_writer_unittest.cc Support encrypted AC3 in TS 2017-10-30 15:22:22 -07:00
ts_muxer.cc Fix TS mimetype in DASH 2018-05-21 20:31:40 +00:00
ts_muxer.h Made StreamData Have Const Pointers 2017-09-19 21:06:29 +00:00
ts_packet.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_packet.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_packet_writer_util.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_packet_writer_util.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
ts_section.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pat.cc Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
ts_section_pat.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pes.cc Add AC3 support in TS 2017-10-30 15:11:43 -07:00
ts_section_pes.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_pmt.cc Fix x64 build on Windows. 2017-01-05 14:19:35 -08:00
ts_section_pmt.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_section_psi.cc Add appveyor config for Windows CI 2016-08-23 12:24:34 -07:00
ts_section_psi.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
ts_segmenter.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_segmenter.h Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_segmenter_unittest.cc Add offset to tranport streams (MPEG2-TS, HLS Packed Audio) 2018-07-26 23:20:21 +00:00
ts_stream_type.h Log an error when seeing unsupported stream type in MPEG2TS 2017-12-01 14:56:22 -08:00
ts_writer.cc Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
ts_writer.h Support KeyFrame events in TS and MP4 2018-02-02 14:05:50 -08:00
ts_writer_unittest.cc Support encrypted AC3 in TS 2017-10-30 15:22:22 -07:00