shaka-packager/packager/media/formats/mp2t
KongQun Yang 2c3aed4842 Handle possible NewSampleEvent before ParserInitEvent
For WebM contents, it is possible that we may receive some NewSampleEvent
before receiving ParserInitEvent. This is because init event is fired
after analyzing a video block which could come after an audio block.

Also modified Flush() function to return a bool to indicate whether the
the flush is successful and whether the samples are handled correctly.

And added macro to ensure Flush() and Parse() results are handled.

Fixes #71

Change-Id: I2294d6f529f54e4578344916559bb1bc116c745a
2016-01-22 17:50:54 -08:00
..
adts_header.cc Fix various misc build issues in Windows 2015-03-24 13:52:18 -07:00
adts_header.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
adts_header_unittest.cc Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
es_parser.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
es_parser_adts.cc Add support for DTS in ESDS. Needed to handle DTS audio generated by FFMPEG. 2016-01-06 22:30:52 +00:00
es_parser_adts.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
es_parser_h264.cc Move AVCDecoderConfiguration parsing to media/filters 2015-10-28 00:31:43 +00:00
es_parser_h264.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
es_parser_h264_unittest.cc Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
mp2t.gyp Move source code into packager directory 2014-10-02 12:32:14 -07:00
mp2t_common.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
mp2t_media_parser.cc Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mp2t_media_parser.h Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mp2t_media_parser_unittest.cc Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
ts_packet.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_packet.h Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section.h Move source code into packager directory 2014-10-02 12:32:14 -07:00
ts_section_pat.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pat.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
ts_section_pes.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pes.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
ts_section_pmt.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_pmt.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00
ts_section_psi.cc Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
ts_section_psi.h Update code to resolve problems due to base updates. 2015-10-16 20:09:56 +00:00