shaka-packager/packager/media/formats
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
..
mp2t Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mp4 Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
mpeg Modify include headers to have "packager" in the path 2014-10-02 12:53:29 -07:00
webm Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
webvtt Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00
wvm Handle possible NewSampleEvent before ParserInitEvent 2016-01-22 17:50:54 -08:00